Changes between Version 1 and Version 2 of dmlScriptVer1.sql


Ignore:
Timestamp:
12/02/24 03:06:56 (3 days ago)
Author:
211101
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dmlScriptVer1.sql

    v1 v2  
    44('Jane Smith', 'jane@example.com', 'securepass'),
    55('Alice Johnson', 'alice@example.com', 'alicepwd');
    6 
    7 INSERT INTO YEAR (year_name) VALUES
    8 (2023),
    9 (2024),
    10 (2025);
    11 
    12 INSERT INTO MONTH (year_id, month_name) VALUES
    13 (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) VALUES
    20 (1, 1, 'Sunday'),
    21 (1, 2, 'Monday'),
    22 (1, 3, 'Tuesday'),
    23 (2, 1, 'Wednesday'),
    24 (2, 2, 'Thursday');
    256
    267INSERT INTO TAG (tag_name) VALUES
     
    3819('Foreign Currency', 300.00, 3);
    3920
    40 INSERT INTO TRANSACTION (transaction_name, amount, net_amount, day_id, tag_id) VALUES
    41 ('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);
     21INSERT 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);
    4627
    4728INSERT INTO TRANSACTION_BREAKDOWN (transaction_id, transaction_account_id, spent_amount, earned_amount) VALUES