Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
UNIQUE
NOT NULL
CHECK
19. CHECK - adding new values
DEFAULT
Summary

Instruction

Okay. First of all, let's check whether we can still insert correct values into our table.

Exercise

Add a new game to the table video_game whose

  • name is 'Grand Theft Auto V',
  • genre is 'criminal',
  • studio is 'Rockstar',
  • multiplayer TRUE,
  • hours 500 and
  • price 89.99.

Stuck? Here's a hint!

Type

INSERT INTO video_game (name, genre, studio, multiplayer, hours, price) 
VALUES ('Grand Theft Auto V', 'criminal', 'Rockstar', TRUE, 500, 89.99);