Vidyalelo
SQL · Q59

SQL

Programming · SQL · question 59

Q59

The command to eliminate a table from a database is:

A.
DROP TABLE CUSTOMER;
Answer
B.
DELETE TABLE CUSTOMER;
C.
REMOVE TABLE CUSTOMER;
D.
UPDATE TABLE CUSTOMER;

Answer: Option A

Solution

Answer: Option A
Solution:
To eliminate or delete a table from a database in SQL, you use the command DROP TABLE followed by the table name, as shown in Option A. The DROP TABLE command is used to permanently remove a table and all of its associated data and structure from the database. Options B, C, and D do not represent the correct SQL syntax for removing a table.