相关试题
单选题 Examine the description of the CUSTOMERS table:
Name Null? Type
-----------------------------------------------------------------------------------------
CUST_ID Not NULL VARCHAR2(6)
FIRST_NAME VARCHAR2(50)
LAST_NAME Not NULL VARCHAR2(50)
ADDRRESS VARCHAR2(50)
CITY VARCHAR2(25)
You want to display detalls of all castomers who reside in cities starting with the letter D followed by at least two
Character
Which query can be used?
单选题 You have been tasked to create a table for a banking application.
One of the columns must meet three requirements:
1) Be stored in a format supporting date arithmetic without using conversion functions
2) Store a loan period of up to 10 years
3) Be used for calculating interest for the number of days the loan remains unpaid
Which data type should you use?
单选题 View the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS, and TIMES tables.The
PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS tableSimilarly, the
CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and
TIMES tables, respectively.Evaluate the following CREATE TABLE command:
CREATE TABLE new_sales(prod_id, cust_id, order_date DEFAULT SYSdateASSELECT prod_id,
Cust_id,time_idFROM sales;
Which statement is true regarding the above command?
单选题 Examine the desciption of the EMPLOYEES table:
Nane Null Type
----------------------------------------------------------
EMP_ID NOT NUL NUMBER
EMP_NAME VARCHAR2 (40)
DEPT_ID NUMBER(2)
SALARY NUMBER(8,2)
JOIN_DATE DATE
Which query is valid?
单选题 Examine the desaiption of the PRODUCT_INFORMATION table:
Name NULL? Type
------------------------------------------------------------------------
PROD_ID NOT NULL NUMBER(2)
PROD_NANE VARCRAR2 (10)
LIST_PRICE NUMBER(6,2)
Which query retrieves the number of products with a null list price?
单选题 Which statement is true regarding the SESSION_PRIVS dictionary view?
单选题 Examine this query:
SELECT 2 FROM dual d1 CROSS JOIN dual d2 CROSS JOIN dual d3;
What is returned upon execution?
单选题 Examine this query:
SELECT TRUNC (ROUND(156.00,-2),-1) FROM DUAL;
What is the result?