Changes between Version 8 and Version 9 of UseCase001


Ignore:
Timestamp:
05/21/26 18:08:37 (6 days ago)
Author:
232012
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase001

    v8 v9  
    1717{{{
    1818SELECT COUNT(*)
    19 FROM User
     19FROM USERS
    2020WHERE email = 'user@example.com';
    2121}}}
     
    2626{{{#!div style="margin-left: 20px;"
    2727{{{
    28 INSERT INTO User (email, password, username, date_created)
    29 VALUES ('user@example.com', 'hashed_password', 'NewUser', CURRENT_TIMESTAMP);
     28INSERT INTO USERS (user_id, email, password, username, date_created)
     29VALUES (7, 'user@example.com', 'hashed_password', 'NewUser', CURRENT_DATE);
    3030}}}
    3131}}}
     
    3535{{{#!div style="margin-left: 20px;"
    3636{{{
    37 INSERT INTO Consumer (user_id, points_collected)
    38 VALUES (LAST_INSERT_ID(), 0);
     37INSERT INTO CONSUMERS (user_id, points_collected)
     38VALUES (7, 0);
    3939}}}
    4040}}}