CREATE TABLE IF NOT EXISTS `customers` ( `c_id` int(1) DEFAULT NULL, `customer` varchar(4) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `customers` -- INSERT INTO `customers` (`c_id`, `customer`) VALUES (1, 'Rabi'), (2, 'Raju'), (3, 'Alex'), (4, 'Rani'), (5, 'King'), (7, 'Ronn'), (8, 'Jem'), (9, 'Tom'); -- -------------------------------------------------------- -- -- Table structure for table `products` -- CREATE TABLE IF NOT EXISTS `products` ( `p_id` int(1) DEFAULT NULL, `product` varchar(12) DEFAULT NULL, `price` int(2) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `products` -- INSERT INTO `products` (`p_id`, `product`, `price`) VALUES (1, 'Hard Disk', 80), (2, 'RAM', 90), (3, 'Monitor', 75), (4, 'CPU', 55), (5, 'Keyboard', 20), (6, 'Mouse', 10), (7, 'Motherboard', 50), (8, 'Power supply', 20); -- -------------------------------------------------------- -- -- Table structure for table `sales` -- CREATE TABLE IF NOT EXISTS `sales` ( `sale_id` int(1) DEFAULT NULL, `c_id` int(1) DEFAULT NULL, `p_id` int(1) DEFAULT NULL, `product` varchar(7) DEFAULT NULL, `qty` int(1) DEFAULT NULL, `store` varchar(3) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `sales` -- INSERT INTO `sales` (`sale_id`, `c_id`, `p_id`, `product`, `qty`, `store`) VALUES (1, 2, 3, 'Monitor', 2, 'ABC'), (2, 2, 4, 'CPU', 1, 'DEF'), (3, 1, 3, 'Monitor', 3, 'ABC'), (4, 4, 2, 'RAM', 2, 'DEF'), (5, 2, 3, 'Monitor', 3, 'ABC'), (6, 3, 3, 'Monitor', 2, 'DEF'), (7, 2, 2, 'RAM', 3, 'ABC'), (8, 3, 2, 'RAM', 2, 'DEF'), (9, 2, 3, 'Monitor', 2, 'ABC'); -- -------------------------------------------------------- -- -- Table structure for table `student` -- CREATE TABLE IF NOT EXISTS `student` ( `id` int(2) NOT NULL DEFAULT '0', `name` varchar(50) CHARACTER SET utf8 NOT NULL DEFAULT '', `class` varchar(10) CHARACTER SET utf8 NOT NULL DEFAULT '', `mark` int(3) NOT NULL DEFAULT '0', `sex` varchar(6) CHARACTER SET utf8 NOT NULL DEFAULT 'male' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `student` -- INSERT INTO `student` (`id`, `name`, `class`, `mark`, `sex`) VALUES (1, 'John Deo', 'Four', 75, 'female'), (2, 'Max Ruin', 'Three', 85, 'male'), (3, 'Arnold', 'Three', 55, 'male'), (4, 'Krish Star', 'Four', 60, 'female'), (5, 'John Mike', 'Four', 60, 'female'), (6, 'Alex John', 'Four', 55, 'male'), (7, 'My John Rob', 'Fifth', 78, 'male'), (8, 'Asruid', 'Five', 85, 'male'), (9, 'Tes Qry', 'Six', 78, 'male'), (10, 'Big John', 'Four', 55, 'female'), (11, 'Ronald', 'Six', 89, 'female'), (12, 'Recky', 'Six', 94, 'female'), (13, 'Kty', 'Seven', 88, 'female'), (14, 'Bigy', 'Seven', 88, 'female'), (15, 'Tade Row', 'Four', 88, 'male'), (16, 'Gimmy', 'Four', 88, 'male'), (17, 'Tumyu', 'Six', 54, 'male'), (18, 'Honny', 'Five', 75, 'male'), (19, 'Tinny', 'Nine', 18, 'male'), (20, 'Jackly', 'Nine', 65, 'female'), (21, 'Babby John', 'Four', 69, 'female'), (22, 'Reggid', 'Seven', 55, 'female'), (23, 'Herod', 'Eight', 79, 'male'), (24, 'Tiddy Now', 'Seven', 78, 'male'), (25, 'Giff Tow', 'Seven', 88, 'male'), (26, 'Crelea', 'Seven', 79, 'male'), (27, 'Big Nose', 'Three', 81, 'female'), (28, 'Rojj Base', 'Seven', 86, 'female'), (29, 'Tess Played', 'Seven', 55, 'male'), (30, 'Reppy Red', 'Six', 79, 'female'), (31, 'Marry Toeey', 'Four', 88, 'male'), (32, 'Binn Rott', 'Seven', 90, 'female'), (33, 'Kenn Rein', 'Six', 96, 'female'), (34, 'Gain Toe', 'Seven', 69, 'male'), (35, 'Rows Noump', 'Six', 88, 'female'); -- -------------------------------------------------------- -- -- Table structure for table `student2` -- CREATE TABLE IF NOT EXISTS `student2` ( `id` bigint(20) DEFAULT NULL, `name` text, `class` text, `mark` bigint(20) DEFAULT NULL, `sex` text ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `student2` -- INSERT INTO `student2` (`id`, `name`, `class`, `mark`, `sex`) VALUES (1, 'John Deo', 'Four', 75, 'female'), (4, 'Krish Star', 'Four', 60, 'female'), (5, 'John Mike', 'Four', 60, 'female'), (6, 'Alex John', 'Four', 55, 'male'), (10, 'Big John', 'Four', 55, 'female'), (15, 'Tade Row', 'Four', 88, 'male'), (16, 'Gimmy', 'Four', 88, 'male'), (21, 'Babby John', 'Four', 69, 'female'), (31, 'Marry Toeey', 'Four', 88, 'male');