db-samples/AltGeldMart
2024-10-01 18:46:15 -07:00
..
altgeld.sqlt initial commit 2024-10-01 18:46:15 -07:00
altgeld_db_setup.sql initial commit 2024-10-01 18:46:15 -07:00
altgeld_db_setup_sqlite.sql initial commit 2024-10-01 18:46:15 -07:00
AltgeldMart.pdf initial commit 2024-10-01 18:46:15 -07:00
ReadMe.txt initial commit 2024-10-01 18:46:15 -07:00

Read the description of the AltgeldMart database included in this zip.

The data values  in these inserts might not exactly match the data values shown in the notes. You can run the demos to check the current values in the tables.

Before running these scripts you need to have created the databases: 
  employee
  product
  customer
  orderEntry



Treat these creates and inserts as scripts and run from the command line- this is easier and less error prone than using copy and paste. You should have no error messages when you run the scripts.

The order for running the scripts is
Check that you have created the databases and have the proper permissions.
1.  run the create script - it will remove any previous copy of the tables you might have.
2.  run the inserts script - it will delete any data from the tables and then do the inserts.

If later in the semester you want to get back to the original set of data and you have not dropped any of the tables, you can just run the inserts script.
Scripts: if you are running these as scripts you can send the output to an LST file.