Site icon DocMCQs

Which command is used to remove a relation from an SQL?

a) Drop table
b) Delete
c) Purge
d) Remove

DROP TABLE is the SQL command used to remove an entire relation (table) from a database.

Here’s a breakdown of why the other options are incorrect:

So, DROP TABLE is the correct choice for permanently deleting a table from a database.

Exit mobile version