Multiple Choice
Given the SQL statement CREATE TABLE SALESREP (
SalesRepNo int NOT NULL,
RepName char(35) NOT NULL,
HireDate date NOT NULL,
CONSTRAINT SalesRepPK PRIMARY KEY (SalesRepNo) ,
CONSTRAINT SalesRepAK1 UNIQUE (RepName)
) ;
We know that ________.
A) RepName is the primary key
B) RepName is a foreign key
C) RepName is a candidate key
D) RepName is a surrogate key
Correct Answer:

Verified
Correct Answer:
Verified
Q57: SQL triggers are created using the SQL
Q58: SQL triggers can be used when the
Q59: The SQL command SELECT is used to
Q60: The following database will be used in
Q61: SQL triggers are used for providing default
Q63: A stored program that is attached to
Q64: One advantage of using the CONSTRAINT phrase
Q65: When the correct SQL command is used
Q66: According to the SQL-92 standard,statements used to
Q67: If a trigger is being written to