Evaluate the CREATE TABLE statement:CREATE TABLE products -(product_id NUMBER(6) CONSTRAINT prod_id_pk PRIMARY KEY,produ

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

Evaluate the CREATE TABLE statement:CREATE TABLE products -(product_id NUMBER(6) CONSTRAINT prod_id_pk PRIMARY KEY,produ

Post by answerhappygod »

Evaluate the CREATE TABLE statement:CREATE TABLE products -(product_id NUMBER(6) CONSTRAINT prod_id_pk PRIMARY KEY,product_name VARCHAR2(15));Which statement is true regarding the PROD_ID_PK constraint?

A. It would be created only if a unique index is manually created first.
B. It would be created and would use an automatically created unique index.
C. It would be created and would use an automatically created nonunique index.
D. It would be created and remains in a disabled state because no index is specified in the command.
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