DELETE
Description
Grammar Syntax
[ WITH [RECURSIVE] common_table_expression [, common_table_expression , ...] ]
DELETE [ FROM ] { table_name | materialized_view_name }
[ USING table_name, ... ]
[ WHERE condition ]Sample Source Patterns
Setup data
From Clause
Input Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Output Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Where Clause
Input Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Output Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Using Clause
Input Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Output Code:
ID
NAME
DEPARTMENT
MANAGER_ID
WITH clause
Non-Recursive CTE
Input Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Output Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Recursive CTE
Input Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Output Code:
ID
NAME
DEPARTMENT
MANAGER_ID
Delete Materialized View
Input Code:
Output Code:
Known Issues
Related EWIs
Last updated
