-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsert report insertions test db.sql
54 lines (35 loc) · 2.92 KB
/
insert report insertions test db.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
INSERT INTO `dms`.`report` (`media_id`, `media_name`, `display_id`, `display_name`,`display_token`, `display_location`, `display_orientation`, `display_size`, `created_date`)
VALUES ('1', 'Midia teste 1', '2', 'Display Escritorio', 'Z9ALHFVL', 'Av. Parintins, 229 - Cachoeirinha 69065-050', 'Retrato', '1080x1920', now());
INSERT INTO `dms`.`report` (`media_id`, `media_name`, `display_id`, `display_name`,`display_token`, `display_location`, `display_orientation`, `display_size`, `created_date`)
VALUES ('2', 'Midia teste 2', '2', 'Display Escritorio','Z9ALHFVL', 'Av. Parintins, 229 - Cachoeirinha 69065-050', 'Retrato', '1080x1920', now());
INSERT INTO `dms`.`report` (`media_id`, `media_name`, `display_id`, `display_name`,`display_token`, `display_location`, `display_orientation`, `display_size`, `created_date`)
VALUES ('1', 'Midia teste 1', '11', 'Display Semef','Z3TK09Q5', 'Semef, centro', 'Retrato', '1080x1920', now());
INSERT INTO `dms`.`report` (`media_id`, `media_name`, `display_id`, `display_name`,`display_token`, `display_location`, `display_orientation`, `display_size`, `created_date`)
VALUES ('3', 'Midia teste 3', '11', 'Display Semef','Z3TK09Q5', 'Semef, centro', 'Retrato', '1080x1920', now());
#----
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('1', '100', '2022-09-08 00:00:00', '2022-09-09 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('1', '150', '2022-09-09 00:00:00', '2022-09-10 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('1', '200', '2022-09-10 00:00:00', '2022-09-11 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('2', '250', '2022-09-08 00:00:00', '2022-09-09 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('2', '300', '2022-09-09 00:00:00', '2022-09-10 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('2', '350', '2022-09-10 00:00:00', '2022-09-11 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('3', '500', '2022-09-08 00:00:00', '2022-09-09 00:00:00', NOW());
INSERT INTO `dms`.`report_insertions`
(`report_id`, `insertions_counted` , `period_start_date` , `period_end_date` , `created_date` )
VALUES ('3', '450', '2022-09-09 00:00:00', '2022-09-10 00:00:00', NOW());
select * from report;
select * from report_insertions;