Unsupported versions: 7.0
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the supported versions listed above instead.

Deletions

Deletions are performed using the DELETE command:

DELETE FROM weather WHERE city = 'Hayward';
    
All weather recording belongs to Hayward is removed. One should be wary of queries of the form
DELETE FROM classname;
    
Without a qualification, DELETE will simply remove all instances of the given class, leaving it empty. The system will not request confirmation before doing this.