Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1791 Which statement removes a table permanently from a database?
Explanation
DROP TABLE deletes the table structure and all its data permanently from the database.
Last verified on 27-11-2026
1792 Which constraint ensures that a column cannot contain a NULL value?
Explanation
NOT NULL forbids missing values in a column; a column declared NOT NULL must always receive a value.
Last verified on 27-11-2026
1793 Which SQL command modifies the structure of an existing table?
Explanation
ALTER TABLE changes a table structure, for example by adding, dropping or modifying a column.
Last verified on 27-11-2026
1794 Which constraint ensures that all values in a column are different?
Explanation
UNIQUE allows no duplicate values in a column, although most systems allow one NULL unless otherwise restricted.
Last verified on 27-11-2026
1795 Which of the following belongs to Data Manipulation Language (DML)?
Explanation
INSERT adds new rows and is a DML statement; GRANT and REVOKE are DCL and CREATE is DDL.
Last verified on 27-11-2026
1796 Which constraint uniquely identifies each row in a table?
Explanation
A primary key uniquely identifies each row and cannot contain NULL or duplicate values.
Last verified on 27-11-2026
1797 Which statement adds a new row to a table?
Explanation
INSERT INTO adds a new row with the specified values to a table.
Last verified on 27-11-2026
1798 Which constraint links a column to the primary key of another table?
Explanation
A foreign key creates a referential link to the primary key of a related table.
Last verified on 27-11-2026
1799 Which SQL statement changes existing data in a table?
Explanation
UPDATE changes values in existing rows, usually with a WHERE clause to limit the rows affected.
Last verified on 27-11-2026
1800 A one-to-one relationship means:
Explanation
One-to-one links pair at most one row on each side, such as a person and a passport.
Last verified on 27-11-2026