Which two statements are true?
A) PRODUCT_ID can be assigned the PRTMARY REY constraint:
B) EXPTRY_DATE cannot be used in arithmetic expressions.
C) EXPTRY_DATE contains the SYSDATE by default if no date is assigned to it.
D) PRODUCT_ PRICE can be used
in an arithmetic expression even if it has no value stored
in it.
E) PRODUCT_ PRICE contains the value zero by default if no value is assigned to it
F)
PRODUCT_ NAME
cannot contain duplicate values
答案:AD
5.
The customers table has a CUST_LAST_NAME column
of data type varchar2
The table has two rows whose CUST_LAST_NAME values are Anderson and Ausson.
Which query produces output for CUST_LAST_NAME containing
Oder for the first row
and Aus for the second?
A.SELECT REPLACE (REPLACE
(CUST_LAST_NAME,’son’,’’),’AN’,’O’) FROM
CUSTOMERS
B.SELECT REPLACE (TRIM (TRAILING ’son’ FROM CUST_LAST_NAME), ’AN’,’O’)
FROM CUSTOMERS
C.SELECT INITCAP (REPLACE (TRIM (‘SON’FROM CUST_LAST_NAME), ’AN’,’O’))
FROM CUSTOMERS
D.SELECT REPLACE (SUBSTR (CUST_LAST_NAME,
-3), ’AN’, ’O’)) FROM CUSTOMERS
答案:A
6. Which three statements are true about indexes and their administration in an oracle
database?
A) An INVISIBLE index is not maintained when Data Manipulation Language (DML) is
performed on its
underlying table.
B) An index can be created as part of a CREATE TABLE statement
C) A DROP INDEX statement always prevents updates to the table during the drop
operation.
D) A UNIOUE and non-unique index
can be created on the same table column.
E) A descending index is a type of function-based index
F) It a query filters on an indexed column then it will always be used during execution of the
query
答案:BCE
7. Which three are true about granting object privilege on tables, views, and sequences?
A) UPDATE can
be granted only on tables and views.
评论