postgresql_16:7.1.98 DELETE
PostgreSQL 16 > Reference > SQL Commands > DELETE
delete rows of a table
[ WITH [ RECURSIVE ] with_query [, ...] ]
DELETE FROM [ ONLY ] table_name [ * ] [ [ AS ] alias ]
[ USING from_item [, ...] ]
[ WHERE condition | WHERE CURRENT OF cursor_name ]
[ RETURNING { * | output_expression [ [ AS ] output_name ] } [, ...] ]
[ WITH [ RECURSIVE ] with_query [, ...] ]
DELETE FROM [ ONLY ] table_name [ * ] [ [ AS ] alias ]
[ USING from_item [, ...] ]
[ WHERE condition | WHERE CURRENT OF cursor_name ]
[ RETURNING { * | output_expression [ [ AS ] output_name ] } [, ...] ]
Subsections
- postgresql_16:7.1.98.1 Description
- postgresql_16:7.1.98.2 Parameters
- postgresql_16:7.1.98.3 Outputs
- postgresql_16:7.1.98.4 Notes
- postgresql_16:7.1.98.5 Examples
- postgresql_16:7.1.98.6 Compatibility
- postgresql_16:7.1.98.7 See Also