Create the following queries using the animal hospital database (see attached document) Please make sure my query’s are correct – if not please re-do them.
Query1: Get the AnimalID, Breed, AnimalName of all the dogs who are 3 years old.
Query2: Get the number of animal visits by each animal (AnimalID).
Hint: You can refer to database lab tutorial query 10 for the use of Totals.
Query3: Get the first name and last name of all the clients whose first name starts with letter B or whose last name contains letter e.
Hint: You can refer to database lab tutorial query 3 for the use of wildcard character.
Query4: Get the AnimalID and Names of the animals who had at least two visits with Doctor Hopkins.
Query5: For each ClientID, get the total balance that the client still needs to pay for all the visits together. The balance for each visit is calculated as the difference between Fee and Paid.
Hint: For calculating the balance, you may refer to database lab tutorial query 12 for the use of [ ], etc.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more