RelationalDesign: polnenje.sql

File polnenje.sql, 9.2 KB (added by 193026, 2 years ago)
Line 
1insert into category (category_name)
2 values ('Restaurant'),
3 ('Shopping'),
4 ('Nightlife'),
5 ('Auto repair');
6
7insert into service (service_name, category_id)
8 values ('Thai food', 1),
9 ('Chinese food', 1),
10 ('Comfort food', 1),
11 ('Macedonian traditional', 1),
12 ('Mediteranian', 1),
13 ('Seafood', 1);
14
15insert into service (service_name, category_id)
16 values ('Music venues', 3),
17 ('DJ', 3),
18 ('Live music', 3),
19 ('Dance clubs', 3),
20 ('Lounges', 3),
21 ('Performing arts', 3),
22 ('Coctail bars', 3);
23
24
25insert into service (service_name, category_id )
26 values ('Tires', 4),
27 ('Oil change stations', 4),
28 ('Body shop', 4),
29 ('Auto parts and supplies', 4),
30 ('Car rental', 4);
31insert into service (service_name, category_id)
32 values ('Sport equipment', 2),
33 ('Womens clothing', 2),
34 ('Mens clothing', 2),
35 ('Supermarket', 2),
36 ('Home decor', 2),
37 ('Cosmetics and beauty supply', 2),
38 ('Stationary', 2),
39 ('Furniture', 2);
40
41
42insert into business (business_name, business_phone, business_descr, business_hours, category_id)
43 values ('Sport M', '02-222-3339', 'Best pieces of sport eqipment from the brands Adidas, Nike, Puma, Salomon, 4F etc.', 'Pon-Sab 09-21', 2),
44 ('Royal View', '046-555-666', 'While dining, enjoy the view of the ancient old town, the picturesque mountain tops and the ever so gracious Ohrid Lake that has enchanted many for centuries.', 'Pon-Ned 08-00', 1);
45
46 insert into business (business_name, business_phone, business_descr, business_hours, category_id)
47 values ('Tino', '046-898-969', 'Dine-in with amazing lake view and pleasant personell.', 'Pon-Sab 09-00', 1),
48 ('Su', '046-522-126', 'Hotel with a restaurant on the third floor, offering dining at a cozy atmosphere, overlooking the Ohrid lake.', 'Pon-Ned 08-00', 1);
49
50insert into business (business_name, business_phone, business_descr, business_hours, category_id)
51 values ('Skopje City Mall', '02-232-232', 'Local staple for shopping & dining, with multiple levels of name-brand stores, cafes & a cinema.', 'Pon-Ned 10-22', 2),
52 ('Akademska kniga', '02-312-5510', 'Primary business of our company is to offer foreighn professional literature from well-known world publishers and renowned university printing houses. At the moment Akademska Kniga offers more than 70.000 different book titles with the greatest prices in the region.', 'Pon-Ned 08-00', 2);
53
54
55
56insert into business (business_name, business_phone, business_descr, business_hours, category_id)
57 values ('Stanica26', '070-111-111', 'Stanica 26 is one of the main nightclubs where locals go to have fun. They promise good time for everyone and quality music.', 'Chet-Ned 00-05', 3),
58 ('Epicentar', '02-321-4061', 'Electronic music venue with local DJ performances.', 'Chet-Sab 00-05', 3),
59 ('Minus Eden', '02-333-333', 'Minus Eden is an alternative night club well known for its techno and house parties.', 'Chet-Sab 00-05', 3);
60
61insert into business (business_name, business_phone, business_descr, business_hours, category_id)
62 values ('Diagnostic Auto Service Kire', '076-555-666', 'Auto machine shop in Skopje', 'Pon-Pet 10-17', 4),
63 ('AMSM Avto Moto Sojuz na Makedonija', '02-355-9999', 'We are modern organization with long tradition. We strive for uncompromising quality for all our services, through continuative implementation of the latest technologies and the best business practices, while constantly investing in development and advancement of our employees. We strive to rise through constant creating of additional value for our members and customers.', 'Pon-Sre 12-18', 4),
64 ('BMW Repair Toni', '02-333-1111', 'Quality service for all types of cars, with BMW speciality.', 'Pon-Ned 12-17', 4);
65
66 insert into business_service(business_id, service_id)
67 values (1, 19),
68 (1, 20),
69 (1, 21),
70 (1, 22),
71 (1, 23),
72 (1, 24),
73 (1, 25),
74 (1, 26);
75
76 insert into service (service_name, category_id)
77 values ('Bookstore', 2);
78
79insert into business_service(business_id, service_id)
80 values (2, 27),
81 (2, 25);
82
83insert into business_service(business_id, service_id)
84 values (3, 7),
85 (3, 8),
86 (3, 10),
87 (3, 13);
88
89insert into business_service(business_id, service_id)
90 values (4, 7),
91 (4, 8),
92 (4, 10),
93 (4, 13);
94
95
96insert into business_service(business_id, service_id)
97 values (5, 7),
98 (5, 8),
99 (5, 10),
100 (5, 13);
101
102
103 insert into business_service(business_id, service_id)
104 values (6, 14),
105 (6, 15),
106 (6, 16),
107 (6, 17),
108 (6, 18);
109
110insert into business_service(business_id, service_id)
111 values (7, 14),
112 (7, 16),
113 (7, 17);
114
115 insert into service (service_name, category_id)
116 values ('BMW repair', 4);
117
118
119insert into business_service(business_id, service_id)
120 values (8, 28);
121insert into business_service(business_id, service_id)
122 values (8, 14),
123 (8, 15),
124 (8, 16),
125 (8, 17);
126insert into business_service(business_id, service_id)
127 values (9, 19);
128insert into business_service(business_id, service_id)
129 values (10, 3),
130 (10, 4),
131 (10, 5),
132 (10, 2);
133
134insert into business_service(business_id, service_id)
135 values (11, 3),
136 (11, 1),
137 (11, 4);
138insert into business_service(business_id, service_id)
139 values (12, 1),
140 (12, 2),
141 (12, 5),
142 (12, 6),
143 (12, 3);
144
145
146
147
148insert into reviewer (reviewer_name,reviewer_verified, reviewer_email, reviewer_password)
149 values ('Sara S', true,'sara.stalevska@finki.ukim.mk', 'sarasara'),
150 ('Spase S',false, 'spase.spaseski@yahoo.com', 'spasespase'),
151 ('Martin M',false, 'martin.martinoski@hotmail.com', 'martinmartin'),
152 ('Martina M',false, 'martinam@gmail.com', 'martinamartina'),
153 ('Goce G',false,'gocegoceski@gmail.com', 'gocegoce'),
154 ('Katerina K', false,'katerinak@students.finki.ukim.mk', 'katekate'),
155 ('Klimentina L',true, 'klimentinal123@gmail.com', 'klimentinal');
156
157insert into address (address_street, address_postal_code, address_city, business_id)
158 values ('Ljubljanska 4 ', '1000', 'Skopje', 1) ,
159 ('Teodosij Gologanov 77', '1000', 'Skopje',2 ) ,
160 ('Porta Bunjakovec', '1000', 'Skopje',2 ) ,
161 ('Jordan Mijalkov 26', '1000', 'Skopje', 3),
162 ('Boulevard Saint Clement of Ohrid 60a', '1000', 'Skopje', 4) ,
163 ('Branislav Nushikj', '1000', 'Skopje', 5) ,
164 ('Radishanska 159-а', '1000', 'Skopje', 6) ,
165 ('Grigor Prlichev 87', '7000', 'Kichevo', 7) ,
166 ('Jane Sandanski 66', '6000', 'Ohrid', 7) ,
167 ('Petar Pop Arsov 12', '4000', 'Bitola', 7) ,
168 ('Mihail Chakov 4', '1000', 'Skopje', 8) ,
169 ('Pitu Guli 55', '1000', 'Skopje',9) ,
170 ('Goce Delchev 66', '3550', 'Kavadarci',9) ,
171 ('Dimo Hadzhi Dimov 88', '2000', 'Kumanovo', 9),
172 ('Kej Makedonija 42', '6000', 'Ohrid', 10) ,
173 ('Kej Makedonija, 45', '6000', 'Ohrid', 11) ,
174 ('Kej Makedonija 88', '6000', 'Ohrid', 12) ,
175 ('Jane Sandanski 74', '6000', 'Ohrid', 12);
176
177insert into review (review_title ,review_text, review_stars, business_id, address_id, reviewer_id)
178 values ('SCM','Good shopping center, but not the best in Skopje.', 4, 1, 1, 2),
179 ('Crowded','Very crowded and Covid-19 safety measures not followed.', 2, 1,1, 6),
180 ('Staff is nice','Variety of quality books offered, very satisfied with the customer service, the staff is helpful and informed.', 5, 2,2, 1),
181 ('Quality time', 'Very nice staff and quality time spent there with friends and coffee.', 5, 2,3, 1),
182 ('Good nightclub','Great nightclub, but unfriendly staff.', 3, 3, 4, 1),
183 ('Amazing','Amazing parties, but not sure if going there again because of how rude the staff was and how expensive and mediocre the drinks were', 2, 3,4, 7),
184 ('Excelent','Excelent selection of DJs, best party place in Skopje', 5, 4,5, 3 ),
185 ('Crowd','Good parties but too crowded. They should let in less people at a time.', 3, 4,5, 5 ),
186 ('Expensive','Expensive drinks and terrible alcohol, rude staff. ', 1, 5, 6, 4 ),
187 ('Rude staff','One of the few nightclus in Skopje of this kind, but very rude staff and very expensive, from entry fee to drinks.', 2, 5, 6, 1 ),
188 ('Pricey','Nice and helpful staff, got the job done, but a little too pricey. ', 3, 6,7, 5 ),
189 ('Average','Staff is neither helpful nor rude, service is somewhat satisfactory.', 3, 7,8, 5 ),
190 ('Satisfied','Staff was nice. It got the job done.', 5, 7,9, 5 ),
191 ('Slow','They finished the job well, but I had to wait a lot more than I wanted to.', 2, 7,10, 5 ),
192 ('Excelent service','Very nice personnel, excellent service at a good price', 5, 8,11, 6 ),
193 ('Not satisfied','Small selection of products at a very high price. At least the staff was nice. ', 2, 9,12, 6 ),
194 ('Nice but expensive','Good brands and nice outfits, but very expensive', 3, 9,13, 2 ),
195 ('Superb','Good brands and nice selection.', 5, 9,14, 2 ),
196 ('Affordable food','Nice staff. Good food, but not the best. Affordable. ', 4, 10,15, 6 ),
197 ('Slow, but good food','Slow service, but good food at a reasonable price. ', 4, 11, 16, 7 ),
198 ('Good but not amazing','Great food but very very expensive.', 3, 12, 18, 7 ),
199 ('Amazing and worth it','Amazing atmosphere and tasty food, worth the cost.', 5, 12, 17, 7 );
200