Discussion
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.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development