Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1781 Which of the following is a Data Control Language (DCL) statement?
Explanation
GRANT gives a user permission to perform an action on a database object and belongs to DCL.
Last verified on 27-11-2026
1782 Which statement removes a permission previously granted to a user?
Explanation
REVOKE withdraws a privilege that was earlier given with GRANT.
Last verified on 27-11-2026
1783 Which language includes COMMIT and ROLLBACK?
Explanation
COMMIT and ROLLBACK control transactions and belong to Transaction Control Language (TCL).
Last verified on 27-11-2026
1784 Which DDL statement adds a new column to an existing table?
Explanation
ALTER TABLE with ADD COLUMN adds a new column to an existing table without deleting its data.
Last verified on 27-11-2026
1785 What does TRUNCATE TABLE do?
Explanation
TRUNCATE removes all rows from a table, is faster than DELETE for emptying a table, and does not log each row deletion.
Last verified on 27-11-2026
1786 Which statement creates a database?
Explanation
CREATE DATABASE creates a new empty database in the DBMS.
Last verified on 27-11-2026
1787 Which SQL statement is used to create a new table in a database?
Explanation
CREATE TABLE is a DDL statement that defines a new table, its columns and their data types.
Last verified on 27-11-2026
1788 Which command deletes an entire database?
Explanation
DROP DATABASE permanently removes the database and all objects inside it.
Last verified on 27-11-2026
1789 Which of the following is a Data Definition Language (DDL) statement?
Explanation
CREATE defines database objects and belongs to DDL, while SELECT, INSERT and UPDATE retrieve or change data.
Last verified on 27-11-2026
1790 What is the main difference between DROP TABLE and DELETE FROM a table?
Explanation
DROP removes the table definition itself, while DELETE removes rows and leaves the empty table in place.
Last verified on 27-11-2026