See the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS andITEMS tables:The PROD_ID column is the fo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

See the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS andITEMS tables:The PROD_ID column is the fo

Post by answerhappygod »

See the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS andITEMS tables:The PROD_ID column is the foreign key in the SALES table, which references thePRODUCTS 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 the CREATE TABLE command:Exhibit:Which statement is true regarding the above command?
See The Exhibit 1
See The Exhibit 1 (458.36 KiB) Viewed 150 times
See The Exhibit 2
See The Exhibit 2 (1.59 KiB) Viewed 150 times
A. The NEW_SALES table would not get created because the column names in the CREATE TABLE command and the SELECT clause do not match
B. The NEW_SALES table would get created and all the NOT NULL constraints defined on the specified columns would be passed to the new table
C. The NEW_SALES table would not get created because the DEFAULT value cannot be specified in the column definition
D. The NEW_SALES table would get created and all the FOREIGN KEY constraints defined on the specified columns would be passed to the new table
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply