English

Differentiate between delete and drop table command.

Advertisements
Advertisements

Question

Differentiate between delete and drop table command.

Distinguish Between
Advertisements

Solution

Basis of Difference DELETE DROP TABLE
Purpose Removes rows Removes the complete table
Structure Preserved Deleted
WHERE clause Can be used Not applicable
Type DML command DDL command
Recovery Can generally be rolled back before commit Table must be recreated
shaalaa.com
  Is there an error in this question or solution?
Chapter 10: Structure Query Language - EXERCISE [Page 197]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 10 Structure Query Language
EXERCISE | Q 16. | Page 197
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×