Oracle Database SQL 12c 1z0-071 Exam Practice Test 1
© examsiri.com
Question : 41 of 50
Marks:
+1,
-0
View the exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS and TIMES tables.
Similarly, 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
Which statement is true regarding the above command?
The PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS table.
Similarly, 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 SYSDATE)
AS
SELECT prod_id, cust_id, time_id
FROM sales: Which statement is true regarding the above command?
Go to Question: