[f7c05a1] | 1 | INSERT INTO events(event_type, price, number_of_interested_guests) values
|
---|
| 2 | ('Webinar', 200, 10),
|
---|
| 3 | ('Birthday', 200, 15),
|
---|
| 4 | ('Party', 300, 20),
|
---|
| 5 | ('Conference', 350, 15),
|
---|
| 6 | ('Team Building', 700, 25);
|
---|
| 7 |
|
---|
| 8 | INSERT INTO beverage(beverage_id, beverage_type, price) values
|
---|
| 9 | (1, 'homemade juice', 2),
|
---|
| 10 | (2, 'brandy glass', 2),
|
---|
| 11 | (3, 'wine glass', 2),
|
---|
| 12 | (4, 'wine bottle', 15),
|
---|
| 13 | (5, 'beer', 3);
|
---|
| 14 |
|
---|
| 15 | INSERT INTO payment(total_payment, pay_date, rec_id, customer_id, user_id) values
|
---|
| 16 | (300, to_date('20220713','yyyymmdd'), '12345678910', '1234', 15),
|
---|
| 17 | (300, to_date('20220823','yyyymmdd'), '12345678910', '2345', 16),
|
---|
| 18 | (300, to_date('20220303','yyyymmdd'), '12345678910', '3456', 17),
|
---|
| 19 | (300, to_date('20221017','yyyymmdd'), '12345678910', '4567', 18),
|
---|
| 20 | (300, to_date('20220513','yyyymmdd'), '12345678910', '5678', 19);
|
---|
| 21 |
|
---|
| 22 | INSERT INTO prepared_meal(meal_id,user_id) values
|
---|
| 23 | (1, 15),
|
---|
| 24 | (2, 18),
|
---|
| 25 | (3, 18),
|
---|
| 26 | (4, 19),
|
---|
| 27 | (5, 16);
|
---|
| 28 |
|
---|
| 29 | INSERT INTO log_in(vreme_na_najava, user_id) VALUES
|
---|
| 30 | ('15:45', 1),
|
---|
| 31 | ('16:45', 2),
|
---|
| 32 | ('17:45', 3),
|
---|
| 33 | ('17:00', 4),
|
---|
| 34 | ('18:00', 5),
|
---|
| 35 | ('19:00', 6),
|
---|
| 36 | ('20:00', 7),
|
---|
| 37 | ('21:00', 8),
|
---|
| 38 | ('22:00', 9),
|
---|
| 39 | ('13:30', 10),
|
---|
| 40 | ('14:30', 11),
|
---|
| 41 | ('15:50', 12),
|
---|
| 42 | ('16:50', 13),
|
---|
| 43 | ('17:50', 14),
|
---|
| 44 | ('15:15', 15),
|
---|
| 45 | ('16:22', 16),
|
---|
| 46 | ('17:17', 17),
|
---|
| 47 | ('20:20', 18),
|
---|
| 48 | ('21:21', 19);
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | insert into villa(villa_id,villa_location, name, villa_view_type) values
|
---|
| 52 | (1, 'Nikola Karev 12, Dihovo','Villa 1','Mountain View'),
|
---|
| 53 | (2, 'Nikola Karev 13, Dihovo','Villa 2','Garden View'),
|
---|
| 54 | (3, 'Nikola Karev 14, Dihovo','Villa 3','Mountain View'),
|
---|
| 55 | (4, 'Nikola Karev 16, Dihovo','Villa 4','Mountain View'),
|
---|
| 56 | (5, 'Nikola Karev 15, Dihovo','Villa 5','Garden View');
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 | insert into rooms(room_id,room_type, price, availability, villa_id) values
|
---|
| 60 | (1,'Single', 25, True, 1),
|
---|
| 61 | (2,'Double', 40, True, 1),
|
---|
| 62 | (3,'Single', 25, True, 2),
|
---|
| 63 | (4,'Double', 40, True, 2),
|
---|
| 64 | (5,'Single', 25, True, 3),
|
---|
| 65 | (6,'Double', 40, True, 3),
|
---|
| 66 | (7,'Single', 25, True, 4),
|
---|
| 67 | (8,'Double', 40, True, 4),
|
---|
| 68 | (9,'Single', 25, True, 5),
|
---|
| 69 | (10,'Double', 40, True, 5);
|
---|
| 70 |
|
---|
| 71 | insert into product(product_id,number_of_products, product_type) values
|
---|
| 72 | (1, 10, 'Apples'),
|
---|
| 73 | (2, 13, 'Potatoes'),
|
---|
| 74 | (3, 4, 'Cheese'),
|
---|
| 75 | (4, 30, 'Tortillas'),
|
---|
| 76 | (5, 10, 'Ham')
|
---|
| 77 | ;
|
---|
| 78 |
|
---|
| 79 | insert into reservation(start_date, end_date, number_guests, adults, children, villa_id, payment_id, room_id) values
|
---|
| 80 | (to_date('01012022','DDMMYYYY'),to_date('11012022','DDMMYYYY'), 2, 2, 0, 1, 7, 2),
|
---|
| 81 | (to_date('01022022','DDMMYYYY'),to_date('20022022','DDMMYYYY'), 1, 1, 0, 3, 10, 3),
|
---|
| 82 | (to_date('11112022','DDMMYYYY'),to_date('20112022','DDMMYYYY'), 2, 2, 0, 4, 6, 4),
|
---|
| 83 | (to_date('10082022','DDMMYYYY'),to_date('1508022','DDMMYYYY'), 2, 1, 1, 5, 8, 5),
|
---|
| 84 | (to_date('01122022','DDMMYYYY'),to_date('21122022','DDMMYYYY'), 2, 1, 1, 2, 9, 1)
|
---|
| 85 | ;
|
---|
| 86 |
|
---|
| 87 | insert into receptionist(user_id, shift, salary) values
|
---|
| 88 | (7, 1, 800),
|
---|
| 89 | (8, 2, 800),
|
---|
| 90 | (9, 3, 950),
|
---|
| 91 | (10, 1, 800),
|
---|
| 92 | (11, 3, 950)
|
---|
| 93 | ;
|
---|
| 94 |
|
---|
| 95 | insert into guests(user_id, passport_number) values
|
---|
| 96 | (15,'C1265083'),
|
---|
| 97 | (16,'C2889657'),
|
---|
| 98 | (17,'C1223435'),
|
---|
| 99 | (18,'C2335427'),
|
---|
| 100 | (19,'C2331109')
|
---|
| 101 | ;
|
---|
| 102 |
|
---|
| 103 | insert into online(payment_id, card_number) values
|
---|
| 104 | (6, '2235668798762341'),
|
---|
| 105 | (7, '2235668798762541'),
|
---|
| 106 | (8, '9835668798762341')
|
---|
| 107 | ;
|
---|
| 108 |
|
---|
| 109 | insert into activities (activity_type, price, number_of_interested_guests, activity_location) values
|
---|
| 110 | ('Aerobic', 25, 15, 'Dihovo'),
|
---|
| 111 | ('Jogging', 5, 10, 'Baba Planina'),
|
---|
| 112 | ('Bicycle riding', 15, 5, 'Baba Planina'),
|
---|
| 113 | ('Yoga', 25, 7, 'Dihovo' ),
|
---|
| 114 | ('Hiking', 25, 12, 'Baba Planina');
|
---|
| 115 |
|
---|
| 116 | insert into meal (price, meal_type) values
|
---|
| 117 | ( 5, 'Polneti piperki'),
|
---|
| 118 | ( 5, 'Tavche gravche'),
|
---|
| 119 | ( 5, 'Sarmi'),
|
---|
| 120 | ( 55, 'Musaka' ),
|
---|
| 121 | ( 3, 'Shopska Salata');
|
---|
| 122 |
|
---|
| 123 | insert into user_table (EMBG, address, email,username, password, full_name ,phone_number) values
|
---|
| 124 | ( '223757757768', 'Gjorgji Zekovski 29, Skopje', 'matea@yahoo.com','Matea_Cvetkovska','12345','Matea Cvetkovska','075/984-518'),
|
---|
| 125 | ( '053758555669', 'Nikola Karev 39, Skopje', 'elena@gmail.com','Elena_Shulevska', '12345','Elena Shulevska', '076/717-525'),
|
---|
| 126 | ( '273758555660', 'Venjamin Macukovski 40, Ohrid', 'jovana@yahoo.com','Jovana_Serdarska', '12345', 'Jovana Serdarska', '077/235-515'),
|
---|
| 127 | ( '253744455661', 'Kuzman Josifovski Pitu 32, Bitola', 'mihail@hotmail.com','Mihajlo_Ristevski', '12345', 'Mihajlo Ristevski', '071/437-526' ),
|
---|
| 128 | ( '213758925666', 'Partizanska 46 , Kumanovo', 'jovan@yahoo.com', 'Jovana_Cvetkovska','12345', 'Jovana Cvetkovska', '075/984-444'),
|
---|
| 129 | ( '123456788888', 'Belasica 23, Skopje', 'violeta@gmail.com', 'Violeta_Shulevska', '12345', 'Violeta Shulevska', '076/720-000'),
|
---|
| 130 | ( '123456787777', 'Dimce Karevski 24, Ohrid', 'silvana@yahoo.com', 'Silvana_Trajkovska', '12345', 'Silvana Trajkovska', '077/235-111'),
|
---|
| 131 | ( '123456784444', 'Dimce Acev 15, Bitola', 'filip@hotmail.com','Filip_Trajkovik', '12345', 'Filip Trajkovik','071/437-222' ),
|
---|
| 132 | ( '123456785555', 'Partizanska 50 , Kumanovo', 'petar@yahoo.com','Petar_Stojanovik', '12345', 'Petar Stojanovik', '072/996-333'),
|
---|
| 133 | ( '123456711111', 'Jane Sandanski 29, Skopje', 'angel@yahoo.com', 'Angel_Nasev', '12345', 'Angel Nasev', '075/984-444'),
|
---|
| 134 | ( '123456722222', 'Nikola Karev 40, Prilep', 'katerina@gmail.com','Katerina_Trajcevska', '12345','Katerina Trajcevska', '076/717-555'),
|
---|
| 135 | ( '273755666666', 'Kukuska 2, Shtip', 'stefan@yahoo.com','Stefan_Andonov', '12345','Stefan Andonov', '077/235-666'),
|
---|
| 136 | ( '253744777777', 'Lazo Popovski 32, Bitola', 'evgenija@hotmail.com','Evgenija_Shulevska', '12345','Evgenija Shulevska', '071/437-700' ),
|
---|
| 137 | ( '213758212121', 'Mavrvka 46 , Kavadarci', 'aleksandra@yahoo.com', 'Aleksandra_Cvetkovska', '12345','Aleksandra Cvetkovska', '072/996-800'),
|
---|
| 138 | ( '223757232323', 'Mara Josifovska 29, Veles', 'mihajlo@yahoo.com','Mihajlo_Cvetkovski', '12345', 'Mihajlo Cvetkovski', '075/984-801'),
|
---|
| 139 | ( '053758524242', 'Margara 39, Kocani', 'dzaner@gmail.com','Dzaner_Ramadan', '12345', 'Dzaner Ramadan', '076/717-802'),
|
---|
| 140 | ( '273758565656', 'Mariovska 40, Kocani', 'boris@yahoo.com','Boris_Panevski', '12345','Boris Panevski','077/235-515'),
|
---|
| 141 | ( '253744457474', 'Mende Ivanovski 32, Kocani', 'denis@hotmail.com','Deniz_Gadza', '12345','Denis Gadza', '071/437-803' ),
|
---|
| 142 | ( '213758921212', 'Vasko Karangelevski 46 , Gevgelija', 'pavlina@yahoo.com','Pavlina_Vasilevska', '12345','Pavlina Vasilevska', '072/996-806');
|
---|
| 143 |
|
---|
| 144 |
|
---|
| 145 | insert into waiter (user_id, shift, salary) values
|
---|
| 146 | (1,1,500),
|
---|
| 147 | (2,1,500),
|
---|
| 148 | (3,2,600),
|
---|
| 149 | (4,2,600),
|
---|
| 150 | (5,3,700),
|
---|
| 151 | (6,3,700);
|
---|
| 152 |
|
---|
| 153 | insert into chef (user_id, shift, salary) values
|
---|
| 154 | (12,1,1000),
|
---|
| 155 | (13,2,1500),
|
---|
| 156 | (14,3,1200);
|
---|
| 157 |
|
---|
| 158 | insert into on_site(payment_id, currency, payment_type, user_id) values
|
---|
| 159 | (9,'euros', 'card', 15),
|
---|
| 160 | (10,'euros','cash',16);
|
---|
| 161 |
|
---|
| 162 |
|
---|
| 163 | insert into service(service_type, price, user_id, room_id) values
|
---|
| 164 | ('Room service', 15, 1, 5),
|
---|
| 165 | ('Pool service', 20, 2, 6),
|
---|
| 166 | ('Masage service', 10, 5, 7),
|
---|
| 167 | ('Self service', 0 , 4, 8),
|
---|
| 168 | ('Catering service',20, 3, 9);
|
---|
| 169 |
|
---|
| 170 | insert into reservation_for_activity(reservation_id, activity_id) values
|
---|
| 171 | (6,5),
|
---|
| 172 | (7,4),
|
---|
| 173 | (8,3),
|
---|
| 174 | (9,2),
|
---|
| 175 | (10,1);
|
---|
| 176 |
|
---|
| 177 | insert into reservation_for_events(reservation_id, event_id) values
|
---|
| 178 | (6,5),
|
---|
| 179 | (7,4),
|
---|
| 180 | (7,5),
|
---|
| 181 | (8,2),
|
---|
| 182 | (9,1);
|
---|
| 183 |
|
---|
| 184 | insert into reservation_for_prepared_meal(reservation_id, prepared_meal_id, meal_id, quantity) values
|
---|
| 185 | (6,6,1,1),
|
---|
| 186 | (7,7,2,3),
|
---|
| 187 | (8,8,3,2),
|
---|
| 188 | (10,9,4,5),
|
---|
| 189 | (9,10,5,1);
|
---|
| 190 |
|
---|
| 191 | insert into service_for_beverages(service_id, beverage_id, quantity) values
|
---|
| 192 | (1,4,2),
|
---|
| 193 | (2,5,3),
|
---|
| 194 | (1,2,2),
|
---|
| 195 | (3,3,3),
|
---|
| 196 | (4,4,4);
|
---|
| 197 |
|
---|
| 198 | insert into meal_made_of_product(meal_id, product_id) values
|
---|
| 199 | (1,2),
|
---|
| 200 | (2,5),
|
---|
| 201 | (3,5),
|
---|
| 202 | (4,2),
|
---|
| 203 | (5,3);
|
---|
| 204 |
|
---|
| 205 | insert into guests_make_reservation(user_id, reservation_id) values
|
---|
| 206 | (15,6),
|
---|
| 207 | (16,7),
|
---|
| 208 | (17,8),
|
---|
| 209 | (18,9),
|
---|
| 210 | (19,10);
|
---|
| 211 |
|
---|