Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create animals table #1

Merged
merged 5 commits into from
Mar 2, 2023
Merged

Create animals table #1

merged 5 commits into from
Mar 2, 2023

Conversation

PeteUgwu
Copy link
Owner

@PeteUgwu PeteUgwu commented Mar 2, 2023

  • Created a database named vet_clinic.
  • Created a table named animals with given data
  • Inserted given data
  • Took screenshots of the queries results

Copy link

@Lizdev-05 Lizdev-05 left a comment

Choose a reason for hiding this comment

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

Hi @PeteUgwu,

Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

  • Correct GitHub Flow 👍

  • Good commit history 💰

  • Good PR title/description 💯

  • All linters passed 🏅

  • Personalised README file 👍

Required Changes ♻️

Check the comments under the review.

Optional suggestions

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.

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.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


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.

queries.sql Outdated
@@ -1,3 +1,10 @@
/*Queries that provide answers to the questions from all projects.*/

SELECT * from animals WHERE name = 'Luna';
SELECT * From animals WHERE name LIKE '%mon%';
SELECT * From animals WHERE date_of_birth BETWEEN DATE '2016-01-01' AND DATE '2019-12-31';

Choose a reason for hiding this comment

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

There is a specificity on what you are to select, that is "name". Instead of selecting *, kindly select the name 🥺 .

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, updated @Lizdev-05

queries.sql Outdated
SELECT * from animals WHERE name = 'Luna';
SELECT * From animals WHERE name LIKE '%mon%';
SELECT * From animals WHERE date_of_birth BETWEEN DATE '2016-01-01' AND DATE '2019-12-31';
SELECT * From animals WHERE neutered = 'YES' AND escape_attempts < 3;

Choose a reason for hiding this comment

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

There is a specificity on what you are to select, that is "name". Instead of selecting *, kindly select the name 🥺 .

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, updated @Lizdev-05

queries.sql Outdated
SELECT * From animals WHERE date_of_birth BETWEEN DATE '2016-01-01' AND DATE '2019-12-31';
SELECT * From animals WHERE neutered = 'YES' AND escape_attempts < 3;
SELECT date_of_birth from animals WHERE name IN ('Agumon','Pikachu');
SELECT name, date_of_birth FROM animals WHERE weight_kg > 10.5;

Choose a reason for hiding this comment

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

You are to list name and escape attempts of animals that weigh more than 10.5kg not the date of birth. Kindly implement the changes. 🥺

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, updated @Lizdev-05

Copy link

@HAMMAS-SALEEM HAMMAS-SALEEM 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 🟢 🥇 💯

success

Hey @PeteUgwu 👋

Great work on implementing the requested changes. Your project is complete. 😊
There is nothing else to say about your project. 👍

Highlights 🥇

✔️ Descriptive PR Title
✔️ Descriptive PR Summary
✔️ Following Gitflow
✔️ Following Requirements

Optional

All the changes with optional tags are not crucial enough to prevent you from getting the approval but we highly recommend to students that they should take these changes into consideration.

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.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


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.

Comment on lines +8 to +9
escape_attempts INT,
neutered BOOLEAN,

Choose a reason for hiding this comment

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

[Optional]

  • It would be nice if you would pass true or false values to neutered column to use this column correctly because it has a datatype boolean 🤔

Comment on lines +11 to 12
PRIMARY KEY(id)
);

Choose a reason for hiding this comment

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

[Optional]

  • It would be nice if you add screenshots in your pull request summary because it is a requirement of your project and it also makes your pull request professional 😊

Comment on lines 108 to 115

<!-- LIVE DEMO -->

## 🚀 Live Demo <a name="live-demo"></a>

> Add a link to your deployed project.

- [Live Demo Link](<replace-with-your-deployment-URL>)
- [Live Demo Link](<>)

Copy link

@HAMMAS-SALEEM HAMMAS-SALEEM Mar 2, 2023

Choose a reason for hiding this comment

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

[Optional]

  • It would be nice if you remove this Live Demo section from your readme file to make it clean and descriptive 👍 Once you will have your live link then you can add this section again with the live link 😊

Comment on lines 248 to 252

## 📝 License <a name="license"></a>

This project is [MIT](./LICENSE) licensed.

Choose a reason for hiding this comment

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

[Optional]

  • Your license link is not working 😨 Kindly fix it to make your readme file descriptive and professional 😊

@PeteUgwu PeteUgwu merged commit 6dfb9d3 into dev Mar 2, 2023
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.

3 participants