4 Rows can be removed from a table using the DELETE command. Suppose you
5 are no longer interested in the weather of Hayward. Then you can do the
6 following to delete those rows from the table:
7 DELETE FROM weather WHERE city = 'Hayward';
9 All weather records belonging to Hayward are removed.
10 SELECT * FROM weather;
12 city | temp_lo | temp_hi | prcp | date
13 ---------------+---------+---------+------+------------
14 San Francisco | 46 | 50 | 0.25 | 1994-11-27
15 San Francisco | 41 | 55 | 0 | 1994-11-29
18 One should be wary of statements of the form
19 DELETE FROM tablename;
21 Without a qualification, DELETE will remove all rows from the given
22 table, leaving it empty. The system will not request confirmation