Leon 7 anni fa
parent
commit
79d43354d3
1 ha cambiato i file con 1 aggiunte e 112 eliminazioni
  1. 1
    112
      src/main/resources/import.sql

+ 1
- 112
src/main/resources/import.sql Vedi File

1
 insert into poll (poll_id, question) values (1, 'What is your favorite color?');
1
 insert into poll (poll_id, question) values (1, 'What is your favorite color?');
2
-insert into option (option_id, option_value, poll_id) values (1, 'Red', 1);
3
-insert into option (option_id, option_value, poll_id) values (2, 'Black', 1);
4
-insert into option (option_id, option_value, poll_id) values (3, 'Blue', 1);
5
-insert into option (option_id, option_value, poll_id) values (4, 'White', 1);
6
-
7
-insert into poll (poll_id, question) values (2, 'What is your favorite Credit Card?');
8
-insert into option (option_id, option_value, poll_id) values (5, 'American Express', 2);
9
-insert into option (option_id, option_value, poll_id) values (6, 'Visa', 2);
10
-insert into option (option_id, option_value, poll_id) values (7, 'Master Card', 2);
11
-insert into option (option_id, option_value, poll_id) values (8, 'Discover', 2);
12
-
13
-insert into poll (poll_id, question) values (3, 'What is your favorite Sport?');
14
-insert into option (option_id, option_value, poll_id) values (9, 'Football', 3);
15
-insert into option (option_id, option_value, poll_id) values (10, 'Basketball', 3);
16
-insert into option (option_id, option_value, poll_id) values (11, 'Cricket', 3);
17
-insert into option (option_id, option_value, poll_id) values (12, 'Baseball', 3);
18
-
19
-insert into poll (poll_id, question) values (4, 'How long have you used spring framework?');
20
-insert into option (option_id, option_value, poll_id) values (13, 'One Year', 4);
21
-insert into option (option_id, option_value, poll_id) values (14, 'Two Years', 4);
22
-insert into option (option_id, option_value, poll_id) values (15, 'Three Years', 4);
23
-insert into option (option_id, option_value, poll_id) values (16, 'Four Years', 4);
24
-
25
-insert into poll (poll_id, question) values (5, 'How do you rate overall satisfaction with Apress Books?');
26
-insert into option (option_id, option_value, poll_id) values (17, 'Very Satisfied', 5);
27
-insert into option (option_id, option_value, poll_id) values (18, 'Somewhat Satisfied', 5);
28
-insert into option (option_id, option_value, poll_id) values (19, 'Neutral', 5);
29
-insert into option (option_id, option_value, poll_id) values (20, 'Somewhat Dissatisfied', 5);
30
-insert into option (option_id, option_value, poll_id) values (21, 'Dissatisfied', 5);
31
-
32
-insert into poll (poll_id, question) values (6, 'What is your favorite Disney Movie?');
33
-insert into option (option_id, option_value, poll_id) values (22, 'Cars', 6);
34
-insert into option (option_id, option_value, poll_id) values (23, 'Toy Story', 6);
35
-
36
-insert into poll (poll_id, question) values (7, 'Who is going to win 2016 elections in United States ?');
37
-insert into option (option_id, option_value, poll_id) values (24, 'Democrat', 7);
38
-insert into option (option_id, option_value, poll_id) values (25, 'Republican', 7);
39
-
40
-insert into poll (poll_id, question) values (8, 'Who is going to host next Olympics?');
41
-insert into option (option_id, option_value, poll_id) values (26, 'Brazil', 8);
42
-insert into option (option_id, option_value, poll_id) values (27, 'USA', 8);
43
-insert into option (option_id, option_value, poll_id) values (28, 'UK', 8);
44
-
45
-insert into poll (poll_id, question) values (9, 'What is the rhinos horn made of?');
46
-insert into option (option_id, option_value, poll_id) values (29, 'Bone', 9);
47
-insert into option (option_id, option_value, poll_id) values (30, 'Hair', 9);
48
-insert into option (option_id, option_value, poll_id) values (31, 'Skin', 9);
49
-
50
-insert into poll (poll_id, question) values (10, 'Entomology is the science that studies?');
51
-insert into option (option_id, option_value, poll_id) values (32, 'insects', 10);
52
-insert into option (option_id, option_value, poll_id) values (33, 'Formation of Rocks', 10);
53
-insert into option (option_id, option_value, poll_id) values (34, 'Birds', 10);
54
-insert into option (option_id, option_value, poll_id) values (35, 'Light', 10);
55
-
56
-insert into poll (poll_id, question) values (11, 'How many toes does a dog have?');
57
-insert into option (option_id, option_value, poll_id) values (36, '5', 11);
58
-insert into option (option_id, option_value, poll_id) values (37, '10', 11);
59
-insert into option (option_id, option_value, poll_id) values (38, '12', 11);
60
-insert into option (option_id, option_value, poll_id) values (39, '8', 11);
61
-
62
-insert into poll (poll_id, question) values (12, 'Which is the smallest ocean in the world?');
63
-insert into option (option_id, option_value, poll_id) values (40, 'Arctic Ocean', 12);
64
-insert into option (option_id, option_value, poll_id) values (41, 'Indian Ocean', 12);
65
-insert into option (option_id, option_value, poll_id) values (42, 'Pacific Ocean', 12);
66
-insert into option (option_id, option_value, poll_id) values (43, 'Atlantic Ocean', 12);
67
-
68
-insert into poll (poll_id, question) values (13, 'What is the biggest State in the US?');
69
-insert into option (option_id, option_value, poll_id) values (44, 'Texas', 13);
70
-insert into option (option_id, option_value, poll_id) values (45, 'California', 13);
71
-insert into option (option_id, option_value, poll_id) values (46, 'Florida', 13);
72
-insert into option (option_id, option_value, poll_id) values (47, 'Alaska', 13);
73
-
74
-insert into poll (poll_id, question) values (14, 'Famous Online Shopping Sites?');
75
-insert into option (option_id, option_value, poll_id) values (48, 'Amazon', 14);
76
-insert into option (option_id, option_value, poll_id) values (49, 'Overstock', 14);
77
-insert into option (option_id, option_value, poll_id) values (50, 'ebay', 14);
78
-
79
-insert into poll (poll_id, question) values (15, 'How many keys are on a standard piano?');
80
-insert into option (option_id, option_value, poll_id) values (51, '66', 15);
81
-insert into option (option_id, option_value, poll_id) values (52, '44', 15);
82
-insert into option (option_id, option_value, poll_id) values (53, '88', 15);
83
-insert into option (option_id, option_value, poll_id) values (54, '122', 15);
84
-
85
-insert into poll (poll_id, question) values (16, 'Which country gave America the Statue of Liberty?');
86
-insert into option (option_id, option_value, poll_id) values (55, 'Canada', 16);
87
-insert into option (option_id, option_value, poll_id) values (56, 'France', 16);
88
-insert into option (option_id, option_value, poll_id) values (57, 'Germany', 16);
89
-insert into option (option_id, option_value, poll_id) values (58, 'England', 16);
90
-
91
-insert into poll (poll_id, question) values (17, 'Best Christmas Gift?');
92
-insert into option (option_id, option_value, poll_id) values (59, 'Smartphone', 17);
93
-insert into option (option_id, option_value, poll_id) values (60, 'Car', 17);
94
-insert into option (option_id, option_value, poll_id) values (61, 'House', 17);
95
-insert into option (option_id, option_value, poll_id) values (62, 'World Trip', 17);
96
-
97
-insert into poll (poll_id, question) values (18, 'Favorite Vaccation Place?');
98
-insert into option (option_id, option_value, poll_id) values (63, 'Paris', 18);
99
-insert into option (option_id, option_value, poll_id) values (64, 'Hawaii', 18);
100
-insert into option (option_id, option_value, poll_id) values (65, 'Sydney', 18);
101
-insert into option (option_id, option_value, poll_id) values (66, 'Tokyo', 18);
102
-
103
-insert into poll (poll_id, question) values (19, 'Philology is the study of?');
104
-insert into option (option_id, option_value, poll_id) values (67, 'Bones', 19);
105
-insert into option (option_id, option_value, poll_id) values (68, 'Muscles', 19);
106
-insert into option (option_id, option_value, poll_id) values (69, 'Architecture', 19);
107
-insert into option (option_id, option_value, poll_id) values (70, 'Languages', 19);
108
-
109
-insert into poll (poll_id, question) values (20, 'How many rings are on the Olympic flag?');
110
-insert into option (option_id, option_value, poll_id) values (71, '6', 20);
111
-insert into option (option_id, option_value, poll_id) values (72, '8', 20);
112
-insert into option (option_id, option_value, poll_id) values (73, '5', 20);
113
-insert into option (option_id, option_value, poll_id) values (74, '4', 20);
2
+insert into option (option_id, option_value, poll_id) values (1, 'Red', 1);