| 21 | | INSERT INTO animals ( |
| 22 | | owner_id, |
| 23 | | name, |
| 24 | | sex, |
| 25 | | date_of_birth, |
| 26 | | photo_url, |
| 27 | | type, |
| 28 | | species, |
| 29 | | breed, |
| 30 | | located_name |
| 31 | | ) |
| 32 | | VALUES ( |
| 33 | | (SELECT user_id FROM users WHERE username = 'client.viktor'), |
| 34 | | 'Bella', |
| 35 | | 'FEMALE', |
| 36 | | '2022-04-15', |
| 37 | | 'https://cdn.petify.com/pets/bella.jpg', |
| 38 | | 'PET', |
| 39 | | 'Dog', |
| 40 | | 'Golden Retriever', |
| 41 | | 'Skopje' |
| 42 | | ); |
| | 19 | INSERT INTO owner (user_id) VALUES (?) |
| | 20 | |
| | 21 | INSERT INTO pet (name, sex, date_of_birth, photo_url, type, species, breed, located_name, owner_id) |
| | 22 | VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) |
| | 23 | |