Versions available for this page: CUBRID 8.2.1 | CUBRID 8.3.0 | CUBRID 8.3.1 | CUBRID 8.4.0 | CUBRID 8.4.1 | CUBRID 8.4.3 | CUBRID 9.0.0 |
The DELETE statement is used to delete unnecessary data from the table.
DELETE
FROM table_spec [ correlation ]
[ WHERE search_condition ] [ ; ]
correlation :
[ AS ] identifier [ {, identifier }... ]
table_spec :
single_table_spec
( single_table_spec [ {, single_table_spec }... ] )
single_table_spec :
[ ONLY ] table_name
ALL table_name [ EXCEPT table_spec ]
DELETE FROM stadium;
DELETE FROM olympic WHERE host_year = 1980;