MCQ MySQL
MCQ MySQL
MCQ MySQL
10. A Table customer contains 5 rows and 7 columns. What will be its cardinality and
degree?
a. Degree 7, Cardinality 5.
b. Degree 5, Cardinality 7.
c. Degree 5, Cardinality 7.
d. Cardinality 7, Degree 7.
Answer: Degree 7, Cardinality 5.
11. Name the clause used to remove duplicate rows from the result of SQL select
statement.
a. Unique
b. Primary Key
c. Distinct
d. Candidate Key
Ans. Distinct
16. Name the key used to uniquely identify row in a table and also does not accept NULL
values.
a. Primary Key
b. Foreign Key
c. Unique Key
d. All of Above
Ans. Primary Key