How to delete a common row from multiple tables using SQL -


i understand can delete multiple tables using joins. but, i'm not sure how that. tried using statement , didn't work either.

delete trm, val  mcs.stg_mdcr_trmntn_rpt trm, mcs.stg_mdcr_vldtn_rpt val trm.import_proc_id = 156; 

what's wrong with

delete mcs.stg_mdcr_trmntn_rpt  import_proc_id = 156;  delete mcs.stg_mdcr_vldtn_rpt import_proc_id = 156;  commit; 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -