Query 1:
with table1 as (select * from table2) delete * from table1;
Query 2:
with table1 as (select * from table2) delete * from table1 where col1 = 'something';
Both of the above query are returning error after execution? Can someone help me here?