Difference between revisions of "DELETE PostgreSQL"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
  DELETE — delete rows of a table
 
  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 ] [, ...] ]
  
 
== See also ==
 
== See also ==

Revision as of 12:16, 4 August 2022

Advertising: