Skip to content

Commit

Permalink
Update Foreign Key.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Internshala-Online-Trainings authored Jun 26, 2019
1 parent 81402cc commit c8747f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ The queries used in the lesson.

CREATE table products query;
CREATE table users_products query;
CREATE TABLE ecommerce.products(`id` INT(11) AUTO_INCREMENT PRIMARY KEY, `name` VARCHAR(30), `category` enum('book','stationary','other'))
CREATE TABLE ecommerce.products(`id` INT(11) AUTO_INCREMENT PRIMARY KEY, `name` VARCHAR(30), `category` enum('book','stationery','other'))
CREATE TABLE ecommerce.users_products(`id` INT(11) AUTO_INCREMENT PRIMARY KEY, `user_id` INT(11), `products_id` INT(11))

0 comments on commit c8747f8

Please sign in to comment.