The command to remove rows from a table 'CUSTOMER' is:
Answer: C
Correct answer: DELETE FROM CUSTOMER WHERE .
DELETE FROM removes rows, and the WHERE clause decides which. Omitting the clause is legal and empties the whole table, which is why writing the WHERE first is a habit worth having.
DROP destroys the table itself, structure and all, so it belongs to the data definition language rather than to row manipulation. UPDATE changes values in rows that remain. REMOVE is not SQL. Note that DELETE leaves the empty table in place, ready for new rows.
Please log in or register to report this question.