1 | INSERT INTO project.cities
|
---|
2 | ("name")
|
---|
3 | VALUES('Skopje'),
|
---|
4 | ('Ohrid'),
|
---|
5 | ('Skopje');
|
---|
6 |
|
---|
7 | INSERT INTO project.vet_centers
|
---|
8 | ("name", description, adress, phonenumber, latitude, longitude, workinghours, citiesid)
|
---|
9 | VALUES( 'Vet Svet', 'Тhe best for your pets', 'Nikola Parapunov 27', '+389(0)23161019', 41.9966401, 21.41712, 'Monday-Friday 10-19, Saturday 10-15', 1),
|
---|
10 | ( 'Veterinarian Ambulance - Dr.Tonit', 'Your pets are safe with us', 'Bulevar Makedonski Prosvetiteli', '070575881', 41.1196292, 20.7996689, 'Monday-Thursday 08-20, Friday-Saturday 08-07', 2),
|
---|
11 | ( 'Vet In', 'We exist for you and your pets', 'Blvd. Partizanski Odredi 62', '077 698 250', 42.0030601, 21.395752, 'Monday-Friday 9-12, 14-19', 3);
|
---|
12 |
|
---|
13 | INSERT INTO project.jobs
|
---|
14 | (description, predictedsalery, vetcentersid)
|
---|
15 | VALUES('doctor', '1500 EUR', 1),
|
---|
16 | ('secretary', '800 EUR', 1),
|
---|
17 | ('doctor', '1400 EUR', 3),
|
---|
18 | ('developer', '1800 EUR', 2);
|
---|
19 |
|
---|
20 | INSERT INTO project.roles
|
---|
21 | ("type")
|
---|
22 | VALUES('admin'),
|
---|
23 | ('standard'),
|
---|
24 | ('manager'),
|
---|
25 | ('employee');
|
---|
26 |
|
---|
27 | INSERT INTO project.users
|
---|
28 | ("name", lastname, email, password, "number", role_id, jobs_id)
|
---|
29 | VALUES('Ana', 'Kirova', 'ana.kirova99@gmail.com', 'Ana@123', '071220234', 2, 2),
|
---|
30 | ('Riste', 'Rizov', 'riste.rizov01@hotmail.com', 'Riste$11', '075450290', 2, 3),
|
---|
31 | ('Keti', 'Atanasova', 'keti.atanasovaaa@gmail.com', 'Keti12@', '078760330', 2, 1),
|
---|
32 | ('Elena', 'Rizova', 'elena.rizova05@gmail.com', 'Rizova12!', '071762110', 3, null),
|
---|
33 | ('Marina', 'Abrasheva', 'marina.abrashevaa@hotmail.com', 'Marina!1', '072324112', 4, null),
|
---|
34 | ('Angela', 'Pavlova', 'angela.pavlova07@hotmail.com', 'Angela@12', '078765240', 1, null),
|
---|
35 | ('Marija', 'Kortova', 'marija.kortova199@gmail.com', 'Marija123&', '072231129', 2, 4);
|
---|
36 |
|
---|
37 | INSERT INTO project.blog_post_for_consultations
|
---|
38 | (date_askes, title, description, users_id)
|
---|
39 | VALUES('2023-12-11', 'Urinary food', 'Can you recommend a urinary food because my kitten has urinary problems.', 1),
|
---|
40 | ('2023-06-12', 'Frequent vomiting', 'Мy dog is vomiting a lot, despite the therapy from the vet, please advise.', 2),
|
---|
41 | ('2023-04-10', 'Sterilization', 'When is the best time to sterilize a dog, before or after a period.', 3),
|
---|
42 | ('2023-05-09', 'Panleukopenia', 'Мy kitten got sick, he does not want to eat or drink water. The vet suspects panleukopenia despite the negative test. I am asking for your experience.', 7);
|
---|
43 |
|
---|
44 | INSERT INTO project.blog_post_answers
|
---|
45 | (parent_id, reply, blogpostconsid, usersid)
|
---|
46 | VALUES(1, 'Royal Canin', 1, 2),
|
---|
47 | (2, 'Did you change his food?', 2, 1),
|
---|
48 | (3, 'before a period', 3, 7),
|
---|
49 | (4, 'seek advice from another vet!', 4, 2);
|
---|
50 |
|
---|
51 | INSERT INTO project.pet_cares
|
---|
52 | (title, description, dateending, usersid, vetcentersid)
|
---|
53 | VALUES('Аccommodation for a pet', 'I am looking for accommodation for my pet during the summer holidays. From July 12 to July 19', '2023-07-19', 1, 1),
|
---|
54 | ('Аccommodation for a pet', 'I will be moving to another apartment so I am looking for 2 weeks accommodation for my kitten', '2023-08-10', 2, 2),
|
---|
55 | ('Veterinary care', 'Мy dog is sick so he needs constant care. I need accommodation for him from 5 days', '2023-06-18', 3, 3);
|
---|
56 |
|
---|
57 | INSERT INTO project.type_of_pets
|
---|
58 | (description, "name")
|
---|
59 | VALUES('cat', 'Lana'),
|
---|
60 | ('dog', 'Roki'),
|
---|
61 | ('dog', 'Fifi'),
|
---|
62 | ('cat', 'Mimi'),
|
---|
63 | ('dog', 'Dzina');
|
---|
64 |
|
---|
65 | INSERT INTO project.pets
|
---|
66 | (color, description, dateofbirthday, usersid, typeofpetsid)
|
---|
67 | VALUES('white', 'Scottish Fold silver chincilla', '2022-05-20', 1, 1),
|
---|
68 | ('grey', 'Persian long hair', '2021-06-16', 2, 4),
|
---|
69 | ('brown', 'Large brown eyes, hanging ears,', '2020-12-30', 3, 2),
|
---|
70 | ('black', 'Toy poodle', '2018-04-24', 7, 3),
|
---|
71 | ('white', 'Toy poodle', '2019-10-20', 1, 5);
|
---|
72 |
|
---|
73 | INSERT INTO project.pet_galery
|
---|
74 | (picture, petsid)
|
---|
75 | VALUES('https://thumbs.dreamstime.com/z/scottish-fold-cat-special-friendly-cat-breed-famous-their-folded-little-ears-their-extremely-affectionate-139562562.jpg', 1),
|
---|
76 | ('https://cyprusanimals.files.wordpress.com/2011/08/persian.jpg',2),
|
---|
77 | ('https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTHiFuem-8UxpTNsp3uo1tFYNScsL7CBOPO6hIn5-2XIwzVVI7N',3),
|
---|
78 | ('https://www.pupvine.com/wp-content/uploads/2021/12/Black-Toy-Poodle-An-Honest-Guide-To-The-Tiny-Teddy-Bear-Dog.jpg',4),
|
---|
79 | ('https://media.istockphoto.com/id/176894002/photo/close-up-of-white-toy-poodle-sitting.jpg?s=612x612&w=0&k=20&c=o12N6niEkm0AVip1KAk8_b66SFy92nwjhnq0hcg0CDM=',5);
|
---|
80 |
|
---|
81 | INSERT INTO project.reports
|
---|
82 | (description, usersid, petsid)
|
---|
83 | VALUES('Аfter receiving therapy for vomiting and diarrhea, the kitten is better, we will monitor his condition', 1, 1),
|
---|
84 | ('Тhe dog passed the castration well', 3, 3),
|
---|
85 | ('the kitten had urinary problems, next month he should eat only urine food', 2, 2);
|
---|
86 |
|
---|
87 | INSERT INTO project."diagnostics"
|
---|
88 | (description, usersid)
|
---|
89 | VALUES('Diarrhea and vomiting', 1),
|
---|
90 | ('Castration', 3),
|
---|
91 | ('Urinary problems', 2),
|
---|
92 | ('Urinary problems', 7);
|
---|
93 |
|
---|
94 | INSERT INTO project.manufacturers
|
---|
95 | (name,description, city, state)
|
---|
96 | VALUES('Sunvet PharmaPrivate','We are themanufacturer of Pharmaceutical Injection', 'Belgrade', 'Serbian'),
|
---|
97 | ('Macwell Pharmaceuticals Pvt. Ltd','we believe to work according to international quality standards and process reliable','Frankfurt', 'Germany'), --FORTAN,
|
---|
98 | ('SAM S FIELD','Top quality', 'Nuremberg', 'Germany'),
|
---|
99 | ('MMG Healthcare','We are offering Veterinary Injections in both wet and dry formulations. ', 'Nuremberg', 'Germany');
|
---|
100 |
|
---|
101 |
|
---|
102 |
|
---|
103 | INSERT INTO project.medecines
|
---|
104 | (name,description, diagnosticsid, manufacturersid)
|
---|
105 | VALUES('Biomix','Vitamin concentrate for cats with a high content of essential amino acids, vitamins, minerals, trace elements, as ideal as a supplement when feeding cats with raw food.', 1, 1),
|
---|
106 | ('Fortan','For quality, shiny and beautiful fur',3,2),
|
---|
107 | ('Sam ''s field','Functional semi-moist soft snacks for dogs with a reduced percentage of fat, to stimulate the digestive system and to improve skin and fur',1,3);
|
---|
108 |
|
---|
109 | INSERT INTO project.pet_status
|
---|
110 | ("type", node)
|
---|
111 | VALUES('received', 'admitted for examination'),
|
---|
112 | ('weiting','waiting for his turn'),
|
---|
113 | ('weiting','waiting for surgery'),
|
---|
114 | ('received','admitted to surgery'),
|
---|
115 | ('recovers','');
|
---|
116 |
|
---|
117 | INSERT INTO project.therapy
|
---|
118 | (description, appoitmentdate, diagnosticsid, pet_statusid)
|
---|
119 | VALUES('antibiotic', '2023-12-12', 3, 1),
|
---|
120 | ('anesthesiac', '2022-10-09', 2, 3),
|
---|
121 | ('vitamins', '2023-07-06', 1, 5),
|
---|
122 | ('antibiotic', '2023-10-12', 3, 1);
|
---|
123 |
|
---|
124 |
|
---|
125 | INSERT INTO project.breeds
|
---|
126 | ("name")
|
---|
127 | VALUES('scottishfold'),
|
---|
128 | ('beagle'),
|
---|
129 | ('poodle'),
|
---|
130 | ('persian'),
|
---|
131 | ('poodle');
|
---|
132 |
|
---|
133 | INSERT INTO project.products
|
---|
134 | ("name", description, price, isactive, dateadded, category)
|
---|
135 | VALUES('CAT ROYALE','High quality premium clamping cat litter ', '7 euro', true, '2022-10-09', 'Hygiene and cosmetics'),
|
---|
136 | ('Superior Care','Intended for white breed dogs to support full vision function', '3.50 euro', true, '2022-10-08', 'Dietary supplements'),
|
---|
137 | ('Lifestyle','Intended for adult cats over 1 year of age with a sensitive digestive system', '4.40 euro', true, '2022-10-09', 'Dietary supplements'),
|
---|
138 | ('Veterinary necklacke', 'for protection', '2 euro', 'false', '2022-10-09', 'Hygiene and cosmetics');
|
---|
139 |
|
---|
140 | INSERT INTO project.orders
|
---|
141 | (quantity)
|
---|
142 | VALUES(3),
|
---|
143 | (10),
|
---|
144 | (5);
|
---|
145 |
|
---|
146 | INSERT INTO project.pets_visit_vet_centers
|
---|
147 | (id_pets, id_vet_centers)
|
---|
148 | VALUES(1, 1),
|
---|
149 | (2,2),
|
---|
150 | (3,3),
|
---|
151 | (4,1);
|
---|
152 |
|
---|
153 |
|
---|
154 | INSERT INTO project.product_are_made_orders
|
---|
155 | (id_products, id_orders)
|
---|
156 | VALUES(1, 1),
|
---|
157 | (2,2),
|
---|
158 | (3,3);
|
---|
159 | INSERT INTO project.products_available_type_of_pets
|
---|
160 | (id_products, id_type_of_pets)
|
---|
161 | VALUES(1, 1),
|
---|
162 | (2,5),
|
---|
163 | (3,1);
|
---|
164 |
|
---|
165 | INSERT INTO project.products_there_are_for_pets
|
---|
166 | (id_products, id_pets)
|
---|
167 | VALUES(1, 1),
|
---|
168 | (2, 5),
|
---|
169 | (3, 1);
|
---|
170 |
|
---|
171 |
|
---|
172 | INSERT INTO project.therapy_takes_pets
|
---|
173 | (id_therapy, id_pets)
|
---|
174 | VALUES(1, 3),
|
---|
175 | (2, 2),
|
---|
176 | (1, 1),
|
---|
177 | (3, 2);
|
---|