15 min
Let's populate the wdi
database with some data and get more practice with SQL.
Insert the following 4 students into the users
table.
- Jill's full name is Jilly Cakes; her favorite number is 22
- Johns's full name is Johnny Bananas; his favorite number is 45221
- Jackie's full name is Jackie Lackie; her favorite number is 3
- Slagathorn's full name is Slaggy McRaggy; his favorite number is 11
- Do a
count
to verify how many records are in your database - Update Johnny Bananas to have a favorite number of 17
- Update Slaggy McRaggy to have the last name of 'Raggy' instead
- View all the records and verify the data is correct
- Delete the last user in the database
- View all the records and make sure the last user is no longer there