View the Exhibit and examine the structure of the EMP table.You executed the following command to add a primary key to t

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

View the Exhibit and examine the structure of the EMP table.You executed the following command to add a primary key to t

Post by answerhappygod »

View the Exhibit and examine the structure of the EMP table.You executed the following command to add a primary key to the EMP table:ALTER TABLE emp -ADD CONSTRAINT emp_id_pk PRIMARY KEY (emp_id)USING INDEX emp_id_idx;Which statement is true regarding the effect of the command?

A. The PRIMARY KEY is created along with a new index.
B. The PRIMARY KEY is created and it would use an existing unique index.
C. The PRIMARY KEY would be created in a disabled state because it is using an existing index.
D. The statement produces an error because the USING clause is permitted only in the CREATE TABLE 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