Skip to content

Instantly share code, notes, and snippets.

@ogabrielguerra
Created September 25, 2020 01:12
Show Gist options
  • Save ogabrielguerra/588b0a3b871010d822c337639ebd421b to your computer and use it in GitHub Desktop.
Save ogabrielguerra/588b0a3b871010d822c337639ebd421b to your computer and use it in GitHub Desktop.
SQL Script - Course Manager Data
-- INSERT DATA
INSERT INTO `course` (`id`, `title`)
VALUES
(1,'Cooking for Fun'),
(2,'Arduin and Automation'),
(3,'Education for Life'),
(4,'Modern PHP Definitive Guide');
INSERT INTO `course_application`
(`id`, `id_user`, `id_course`, `application_date`)
VALUES
(1,1,2,'2020-09-24 17:44:36'),
(2,1,3,'2020-09-24 16:34:32'),
(3,2,3,'2020-09-24 18:14:06');
INSERT INTO `user` (`id`, `email`, `name`)
VALUES
(1,'edward@foo.com','Edward'),
(2,'john@foo.com','John'),
(3,'Clair','cliar@foo.com'),
(4,'Margareth','margot@foo.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment