Skip to main contentSkip to solution

Match List-I with List-II

List-I SQL COMMANDSList-II Applications
(A) DESCRIBE(I) To add/remove an attribute or to modify the datatype of an existing attribute or to add constraints to the attribute
(B) ALTER(II) To remove a database or a table permanently from the system
(C) DROP(III) To create a database
(D) CREATE(IV) To view the structure of an already created table

Solution

✅ Correct Option: 2
List IList II
(A) DESCRIBE(IV) To view the structure of an already created table
(B) ALTER(I) To add/remove an attribute or to modify the datatype of an existing attribute or to add constraints to the attribute
(C) DROP(II) To remove a database or a table permanently from the system
(D) CREATE(III) To create a database

ALTER changes the structure of an existing table, while DROP deletes the table or database itself. Remember DROP as "drop it for good".

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question