The document contains SQL commands that create 3 tables: a "cliente" table to store customer data including ID, name, address and email; a "compras" table to record purchases linking a customer ID, payment ID, date, amount and status; and a "detalle_compras" table to keep purchase details like product ID, purchase ID, quantity and purchase price for each item.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
63 views1 page
Bddoc
The document contains SQL commands that create 3 tables: a "cliente" table to store customer data including ID, name, address and email; a "compras" table to record purchases linking a customer ID, payment ID, date, amount and status; and a "detalle_compras" table to keep purchase details like product ID, purchase ID, quantity and purchase price for each item.