Created
May 23, 2016 01:39
-
-
Save fromdev/f8e27b140e48effc6bd5445d693f48d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `retail_db`.`retail_master` ( | |
`transaction_id` INT NOT NULL AUTO_INCREMENT, | |
`customer_name` VARCHAR(45) NOT NULL, | |
`bought_products` VARCHAR(255) NOT NULL, | |
`amount` INT NULL, | |
PRIMARY KEY (`transaction_id`)); | |
INSERT INTO `retail_db`.`retail_master` (`customer_name`, `bought_products`, `amount`) VALUES ('prashantkhunt', 'laptop,headphones,watch,mobile', '70000'); | |
INSERT INTO `retail_db`.`retail_master` (`customer_name`, `bought_products`, `amount`) VALUES ('harsh savani', 'book,sunglasses,tshirt,pen', '85000'); | |
INSERT INTO `retail_db`.`retail_master` (`customer_name`, `bought_products`, `amount`) VALUES ('chiragloliyana', 'laptop,headphones,watch', '45000'); | |
INSERT INTO `retail_db`.`retail_master` (`customer_name`, `bought_products`, `amount`) VALUES ('vivekpatel', 'mobile,book,tshirt', '30000'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment