READ Free Dumps For Oracle- 1z0-007
Question ID 7991 | Examine the SQL statement that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL, STATUS VARCHAR2(10) CHECK (status IN ('CREDIT', 'CASH')), PROD_ID NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order_id, order_date)); For which columns would an index be automatically created when you execute the above SQL statement? (Choose two.) |
Option A | SER_NO |
Option B | ORDER_ID |
Option C | STATUS |
Option D | PROD_ID |
Option E | ORD_TOTAL |
Option F | composite index on ORDER_ID and ORDER_DATE |
Correct Answer | AF |
Question ID 7992 | What is true of using group functions on columns that contain NULL values? |
Option A | Group functions on columns ignore NULL values. |
Option B | Group functions on columns returning dates include NULL values. |
Option C | Group functions on columns returning numbers include NULL values. |
Option D | Group functions on columns cannot be accurately used on columns that contain NULL values. |
Option E | Group functions on columns include NULL values in calculations if you use the keyword INC_NULLS. |
Correct Answer | A |