· 8 years ago · Feb 17, 2018, 10:48 AM
1
2CREATE TABLE IF NOT EXISTS `sales` (
3 `id` int(4) NOT NULL AUTO_INCREMENT,
4 `amount` float(8,2) DEFAULT NULL,
5 `date_of` date DEFAULT NULL,
6 PRIMARY KEY (`id`)
7) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1060 ;
8
9--
10-- Dumping data for table `sales`
11--
12
13INSERT INTO `sales` (`id`, `amount`, `date_of`) VALUES
14(1000, 99.99, '2018-01-01'),
15(1001, 95.00, '2018-01-01'),
16(1002, 89.99, '2018-01-01'),
17(1003, 94.00, '2018-01-01'),
18(1004, 100.00, '2018-01-01'),
19(1005, 105.00, '2018-01-01'),
20(1006, 99.00, '2018-01-02'),
21(1007, 50.00, '2018-01-02'),
22(1008, 200.00, '2018-01-02'),
23(1009, 23.50, '2018-01-02'),
24(1010, 75.50, '2018-01-02'),
25(1011, 150.50, '2018-01-02'),
26(1012, 10.00, '2018-01-03'),
27(1013, 420.00, '2018-01-03'),
28(1014, 320.00, '2018-01-03'),
29(1015, 36.75, '2018-01-03'),
30(1016, 175.50, '2018-01-03'),
31(1017, 350.50, '2018-01-03'),
32(1018, 29.99, '2018-01-04'),
33(1019, 1.10, '2018-01-04'),
34(1020, 100.00, '2018-01-04'),
35(1021, 369.75, '2018-01-04'),
36(1022, 15.50, '2018-01-04'),
37(1023, 50.50, '2018-01-04'),
38(1024, 50.50, '2018-01-05'),
39(1025, 99.10, '2018-01-05'),
40(1026, 210.00, '2018-01-05'),
41(1027, 36.75, '2018-01-05'),
42(1028, 150.50, '2018-01-05'),
43(1029, 100.50, '2018-01-05'),
44(1030, 650.50, '2018-01-06'),
45(1031, 599.10, '2018-01-06'),
46(1032, 1210.00, '2018-01-06'),
47(1033, 1200.75, '2018-01-06'),
48(1034, 5000.00, '2018-01-06'),
49(1035, 1000.50, '2018-01-06'),
50(1036, 3650.50, '2018-01-07'),
51(1037, 966.10, '2018-01-07'),
52(1038, 2610.00, '2018-01-07'),
53(1039, 203.75, '2018-01-07'),
54(1040, 1750.00, '2018-01-07'),
55(1041, 900.50, '2018-01-07'),
56(1042, 150.50, '2018-01-08'),
57(1043, 766.10, '2018-01-08'),
58(1044, 650.00, '2018-01-08'),
59(1045, 1203.75, '2018-01-08'),
60(1046, 1050.00, '2018-01-08'),
61(1047, 600.75, '2018-01-08'),
62(1048, 956.50, '2018-01-09'),
63(1049, 153.10, '2018-01-09'),
64(1050, 865.00, '2018-01-09'),
65(1051, 700.75, '2018-01-09'),
66(1052, 150.00, '2018-01-09'),
67(1053, 570.75, '2018-01-09'),
68(1054, 1751.50, '2018-01-10'),
69(1055, 653.10, '2018-01-10'),
70(1056, 165.00, '2018-01-10'),
71(1057, 300.75, '2018-01-10'),
72(1058, 750.00, '2018-01-10'),
73(1059, 170.75, '2018-01-10');