Changes between Version 1 and Version 2 of dmlScriptVer1.sql
- Timestamp:
- 12/02/24 03:06:56 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dmlScriptVer1.sql
v1 v2 4 4 ('Jane Smith', 'jane@example.com', 'securepass'), 5 5 ('Alice Johnson', 'alice@example.com', 'alicepwd'); 6 7 INSERT INTO YEAR (year_name) VALUES8 (2023),9 (2024),10 (2025);11 12 INSERT INTO MONTH (year_id, month_name) VALUES13 (1, 'January'),14 (1, 'February'),15 (1, 'March'),16 (2, 'January'),17 (2, 'February');18 19 INSERT INTO DAY (month_id, day_number, day_name) VALUES20 (1, 1, 'Sunday'),21 (1, 2, 'Monday'),22 (1, 3, 'Tuesday'),23 (2, 1, 'Wednesday'),24 (2, 2, 'Thursday');25 6 26 7 INSERT INTO TAG (tag_name) VALUES … … 38 19 ('Foreign Currency', 300.00, 3); 39 20 40 INSERT INTO TRANSACTION (transaction_name, amount, net_amount, da y_id, tag_id) VALUES41 ('Bought groceries', 1000.00, 800.00, 1, 1),42 ('Paid rent', 15000.00, 15000.00, 2, 5),43 ('Dinner with friends', 2500.00, 1500.00, 3, 2),44 ('Movie tickets', 600.00, 600.00, 4, 4),45 ('Electricity bill', 1200.00, 1200.00, 5, 5);21 INSERT INTO TRANSACTION (transaction_name, amount, net_amount, date, tag_id) VALUES 22 ('Bought groceries', 1000.00, 800.00, '23.11.2024 13:51:35 +02:00', 1), 23 ('Paid rent', 15000.00, 15000.00, '01.11.2024 17:01:41 +02:00', 5), 24 ('Dinner with friends', 2500.00, 1500.00, '29.11.2024 22:02:22 +02:00', 2), 25 ('Movie tickets', 600.00, 600.00, '30.11.2024 17:38:00 +02:00', 4), 26 ('Electricity bill', 1200.00, 1200.00, '02.11.2024 07:03:35 +02:00', 5); 46 27 47 28 INSERT INTO TRANSACTION_BREAKDOWN (transaction_id, transaction_account_id, spent_amount, earned_amount) VALUES