Changes between Version 1 and Version 2 of ImportantUseCase2


Ignore:
Timestamp:
01/21/22 22:14:32 (3 years ago)
Author:
191151
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImportantUseCase2

    v1 v2  
    2525UPDATE project.users
    2626        SET email_verified_at = now(),updated_at = now()
    27         WHERE id=11;
     27        WHERE id = (
     28                select u.id from users u
     29                where u.email = 'test_organizer_1@mail.com'
     30        );
     31
    2832
    2933INSERT INTO project.organizers (user_id,city,country)
    30         VALUES (11,'Skopje','North Macedonia');
     34        VALUES ((
     35                select u.id from users u
     36                where u.email = 'test_organizer_1@mail.com'
     37        ),'Skopje','North Macedonia');
    3138}}}