DCL commands in SQL include: MCQ with Answer and Explanation

DCL commands in SQL include:
A. CREATE and DROP
B. SELECT and JOIN
C. GRANT and REVOKE
D. INSERT and UPDATE
Answer: Option C
Solution (By JKSSB Mock Tests)
Data Control Language (DCL) commands manage access permissions.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which SQL keyword is used to give users permission to access database objects?
A. GRANT
B. REVOKE
C. PERMIT
D. ASSIGN

Correct Answer: Option A


Explanation:
GRANT is a DCL command used to assign privileges to users.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is a relation in relational database terms?
A. A row
B. A table
C. A column
D. A key

Correct Answer: Option B


Explanation:
In the relational model, a relation is a table consisting of rows and columns.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is a data dictionary in a DBMS?
A. A log file
B. A repository of metadata about the database
C. A backup of the database
D. A table containing user data

Correct Answer: Option B


Explanation:
The data dictionary stores metadata such as table definitions, column types, constraints, and other database objects.

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