Which SQL keyword is used to give users permission to access database objects? MCQ with Answer and Explanation

Which SQL keyword is used to give users permission to access database objects?
A. REVOKE
B. GRANT
C. PERMIT
D. ASSIGN
Answer: Option B
Solution (By JKSSB Mock Tests)
GRANT is a DCL command used to assign privileges to users.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Data that has been processed, organized, structured, or presented in a given context to make it useful is known as what?
A. Information
B. Database
C. Raw facts
D. Field

Correct Answer: Option A


Explanation:
Information is data that has been processed, structured, or organized in a meaningful way to provide context and utility to the user.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following is a valid SQL statement to add a new column to a table?
A. ALTER TABLE table_name ADD column_name datatype;
B. ADD COLUMN TO table_name column_name datatype;
C. ALTER TABLE table_name ADD COLUMN column_name datatype;
D. Both A and C

Correct Answer: Option D


Explanation:
Both 'ADD column_name datatype' and 'ADD COLUMN column_name datatype' are valid syntax in some DBMS, but standard SQL uses 'ADD column_name datatype'. However, many DBMS support both.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is a logical data model?
A. Physical model
B. Relational model
C. Both A and C
D. Hierarchical model

Correct Answer: Option C


Explanation:
Logical data models include relational, hierarchical, and network models. Physical models describe storage details.

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