A candidate key is: MCQ with Answer and Explanation

A candidate key is:
A. A minimal super key
B. Any key with duplicates
C. A foreign key only
D. Always the primary key
Answer: Option A
Solution (By JKSSB Mock Tests)
A candidate key is a minimal set of attributes that can uniquely identify a tuple.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is the purpose of the SQL 'WITH' clause (Common Table Expression)?
A. To define a temporary result set that can be referenced within a query
B. To update data
C. To delete data
D. To create a view

Correct Answer: Option A


Explanation:
A Common Table Expression (CTE) provides a temporary named result set that can be used within a SELECT, INSERT, UPDATE, or DELETE statement.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What does DDL stand for in SQL?
A. Dynamic Data Link
B. Data Definition Language
C. Data Manipulation Language
D. Data Description Language

Correct Answer: Option B


Explanation:
DDL (Data Definition Language) includes commands like CREATE, ALTER, DROP for defining database structures.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is a database schema?
A. A backup file
B. A single table
C. The overall design or structure of the database, including tables, columns, and relationships
D. A query result

Correct Answer: Option C


Explanation:
A schema is the logical description of the entire database, defining tables, views, indexes, and constraints.

This question belongs to: Computer Database Management System (DBMS)