Explore topic-wise MCQs in Database.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Database knowledge and support exam preparation. Choose a topic below to get started.

1.

To remove a relation from an SQL database, we use the ______ command.

A. Delete
B. Purge
C. Remove
D. Drop table
Answer» E.
2.

An attribute A of datatype varchar(20) has the value Avi . The attribute B of datatype char(20) has value Reed . Here attribute A has ____ spaces and attribute B has ____ spaces.

A. 3, 20
B. 20, 4
C. 20, 20
D. 3, 4
Answer» B. 20, 4