You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

demo-queries-from slides-7.sql 321B

1234567891011121314
  1. DELETE FROM general_ledger_accounts
  2. WHERE account_number = 306;
  3. DELETE FROM invoice_line_items
  4. WHERE invoice_id = 78 AND invoice_sequence = 2;
  5. DELETE FROM invoice_line_items
  6. WHERE invoice_id = 12;
  7. DELETE FROM invoice_line_items
  8. WHERE invoice_id IN
  9. (SELECT invoice_id
  10. FROM invoices
  11. WHERE vendor_id = 115);