r/DatabaseHelp • u/NicoDiamond1c8 • Jan 31 '18
Confused on intro to Database Systems assignment
Would anyone have around 10 minutes to go over a short assignment with me?
Instructions: Using the SQL Code below, complete the transaction table. Transaction table entries a through d has been completed for you. Follow the process to complete the transaction table entry for c through e.
- BEGIN TRANSACTION
INSERT INTO TRUCK
- VALUES (124, 2210000.00, .08, ‘Mack’, ‘Mack5, ‘2014-10- 15’, 12, ‘Natural Gas’);
- INSERT INTO MAINTENANCE * VALUES (1313, ‘2014-11-15’, ‘Oil’, 238.20, 124)
- UPDATE FUELUP * SET NoGallons = 13.77 * WHERE FuelID = 100;
- COMMIT;
3
Upvotes
View all comments
2
u/wolf2600 Feb 01 '18
So the statements above are entries A-D? What do they want for statements C-E?