108k views
4 votes
Which of the following keywords is used to remove a row in a table? (Points : 2) DROP

DELETE
REMOVE
MODIFY

User Aviraldg
by
6.1k points

1 Answer

7 votes

Answer:

DELETE

Step-by-step explanation:

DELETE keyword is used to remove a row in a table. The actual syntax is as follows:

DELETE from <TableName> where <Condition>;

For example:

DELETE FROM employee where name='Peter';

This will remove employee with the name Peter from the Employee table.

DROP on the other hand is used to delete the entire table without focussing on a particular row.DROP syntax is as follows:

DROP TABLE <TableName>;

User KevinOelen
by
6.2k points