Skip to content

Vet Clinic Database: create animals table#1

Open
Ridwanullahi-code wants to merge 1 commit intomainfrom
create_animals_table
Open

Vet Clinic Database: create animals table#1
Ridwanullahi-code wants to merge 1 commit intomainfrom
create_animals_table

Conversation

@Ridwanullahi-code
Copy link
Copy Markdown
Owner

Create a database named vet_clinic.
Create a table named animals with the following columns:
id: integer
name: string
date_of_birth: date
escape_attempts: integer
neutered: boolean
weight_kg: decimal
Copy the SQL you used in the previous point into the schema.sql file in the generated repository.

  • Insert the data
  • Copy the SQL you used in the previous point into the data.sql file in the generated repository.
  • Write queries for the following quests:
    Find all animals whose name ends in "mon".
    List the name of all animals born between 2016 and 2019.
    List the name of all animals that are neutered and have less than 3 escape attempts.
    List the date of birth of all animals named either "Agumon" or "Pikachu".
    List name and escape attempts of animals that weigh more than 10.5kg
    Find all animals that are neutered.
    Find all animals not named Gabumon.
    Find all animals with a weight between 10.4kg and 17.3kg (including the animals with the weights that equals precisely 10.4kg or 17.3kg)
    Take a screenshot of the results of your queries.

Copy link
Copy Markdown

@emmanuellekamwa emmanuellekamwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STATUS: APPROVED 🍾✔🎉
Hello @Ridwanullahi-code 👋
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

  • You documented your work professionally.✔
  • Your linters are passing all the checks.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants