INVOICE
database Question
What order should the tables be deleted in?
Organise the following tables into the correct deletion order by dragging them with your mouse.
CUSTOMER
INVOICE
INVOICEITEM
ITEM
INVOICEITEM,
INVOICE
ITEM
CUSTOMER
Question
What are the SQL statements to delete the INVOICE
database?
DELETE FROM INVOICEITEM;
DROP TABLE INVOICEITEM;
DELETE FROM INVOICE;
DROP TABLE INVOICE;
DELETE FROM ITEM;
DROP TABLE ITEM;
DELETE FROM CUSTOMER;
DROP TABLE CUSTOMER;