| 21 | | 2. Owner clicks on a specific animal. |
| 22 | | {{{ |
| 23 | | SELECT |
| 24 | | a.animal_id, |
| 25 | | a.owner_id, |
| 26 | | a.name, |
| 27 | | a.sex, |
| 28 | | a.date_of_birth, |
| 29 | | a.photo_url, |
| 30 | | a.type, |
| 31 | | a.species, |
| 32 | | a.breed, |
| 33 | | a.located_name |
| 34 | | FROM animals a |
| 35 | | WHERE a.animal_id = 2 |
| 36 | | AND a.owner_id = (SELECT user_id FROM users WHERE username = 'client.mila'); |
| 37 | | }}} |
| 38 | | 3. Clicks on the "Create Listing" button. |
| 39 | | 4. Owner enters listing information and submits it. |
| 40 | | 5. System creates the lisitng. |
| | 22 | 2. Clicks on the "Create Listing" button. |
| | 23 | 3. Owner enters listing information and submits it. |
| | 24 | [[Image(listing2.png)]] |
| | 25 | 4. System creates the lisitng. |