What is the sum total amount paid with check

Assignment Help Database Management System
Reference no: EM131636494

Zoo Assignment

The purpose of this assignment to understand simple SQL statements and answer questions based on the Zoo database schema.

Assignment Requirements

Run the Zoo database's "FULL_DATABASE_with_DROP" script to create the tables and insert data for these questions.

Questions

1. List the all animal name whose name start with letter A.

2. Select all the employee information from the employee who has id 4213.

3. List the team names that are alphabetically between fuschia and yellow.

4. List all the animal's whose names start with "B".

5. List all the product ids, product names, product_suggested price and product type. Order by product name.

6. List the names of those corporate sponsors whose donations are between 10,000 and 25,000.

7. Display all the different cities that employees live in. Make sure there are no duplicates.

8. List the employee id, first name, last name that are certified keeper. Use in clasue.

9. List the first name, last name, phone number and department name of volunteers who work in 'Information Systems', 'Finance', and 'Public Relations'. Order your results by Department name.

10. List the ID, first name, last name, phone number and social security number of the employee(s) who have been with the company the longest. Use a subquery.

11. List the Product ID, Name and suggested price for those products whose suggested price is less than the average suggested price.

12. List the first name, last name, and salary for the highest paid employee. Use a subquery.

13. Display employee's first and last names if they received a research bonus.

14. List the product id, product name and product suggested price for that product which has the highest suggested price. Use subquery.

15. List the name of animal, its gender and breed name for the oldest animal in the zoo.

16. How many employees belong to the research department?

17. How many employees are there in each zoo?

18. Find the number of payments made by each credit card type.

19. Display the transaction date and the sum of the total transaction amount grouped by the transaction date with the store id = '1401' having the sum of the transcation total amount greater than 20.

20. List the product name, the max stock, the amount in inventory, and the reorder point of those products whose current inventory amount is within 7 items of the reorder point.

21. List the animal name and the breed name whose height is more than 31.

22. List the names of the sponsor companies that donated in July of 2008. Also list the amount donated, but limit your results with those sponsors who donated more than 2000.

23. List the receipt line id, selling price, product name, transaction date, store city, employee last name, zoo name. Order the output by employee last name.

24. List all the food item descriptions and corresponding food categorie descriptions even if the food category isn't associated with a food item, and food item does not have a category. Limit your results by selecting only the food categories that being with A or B OR only the item descriptions that being with 'Tasty' or 'Organic'.

25. List employee id who are from the same city and whose salary is greater than 90,000.

26. For each animal, list their name, gender and their prescription dosage and the date taken. All animals should be included in the results. For those animals that do not have a prescription, leave the appropriate fields blank. Order by animal name.

27. What is the sum total amount paid with Check?

28. List the first and Last names of the vets who work at a hospital that starts with "Wo".

29. List all animal breed names that came from Africa.

30. List only the product id of all the "manufactured" products with even product id. [Hint: Use MOD function].

Reference no: EM131636494

Questions Cloud

Would many people be happier if corporations would redesign : Would many people be happier if corporations would redesign themselves to be more in line with a democracy rather than an aristocracy?
Discuss rise of new ideologies and political organization : Discuss the rise of new ideologies and political organizations during the later nineteenth century. Can you discern notable national particularities?
Sustainability changed operations-supply change management : How has business sustainability changed Operations and Supply Change Management?
Is there more accountability or more political posturing : The current congress seems to be flexing a little more muscle way back in Washington D.C. than in the past.
What is the sum total amount paid with check : What is the sum total amount paid with Check? List the first and Last names of the vets who work at a hospital that starts with "Wo".
Used a hook and a clincher to attract and keep the audience : Used a hook and a clincher to attract and keep the audience, the context of the novel and research it from a particular angle
Discuss problem related to the high blood pressure patients : Of the high blood pressure patients in a particular clinic, 62% are treated with medication X, the remainder with medication Y.
What is the optimal stocking level : A small grocery store sells fresh organic salad, which it obtains from a local farmer. What is the optimal stocking level?
Prepare the journal entryies for any impairment loss : identify and apply relevant standards, and create relevant, supported conclusions and make justified recommendations to given issues and problems.

Reviews

Write a Review

Database Management System Questions & Answers

  Fishing in the public waterbodies of victoria rivers creeks

fishing in the public waterbodies of victoria rivers creeks lakes and reservoirs is controlled by the freshwater

  Database server management

Design an Entity model and construct a set of tables with suitably defined columns to support this scenario and find details of all books stocked in London

  Implement the pays auditing model

You have decided to push the envelope and implement the pays auditing model. Provide a step-by-step summary for imple¬menting this model.

  Create an xml schema for a catalog of cars

Create an XML document with at least three instances of the car element defined in the XML schema of Exercise 1, and produce a display of the raw document.

  What type of architecture does each dbms use

Determine each system's compliance with the functions that we would expect to be provided by a DBMS. What type of language does each system provide? What type of architecture does each DBMS use? Check the accessibility and extensibility of the sys..

  Discuss the apache web server in regard to cost

Discuss the Apache Web server in regard to cost, functionality, and compatibility. Are there certain implementations were it may not be suitable

  Identify all entities that have a direct bearing on database

Describe all the business rules that apply to this problem (relationship and constraint). Using the relationship business rules, establish the correct relationships (1:1, 1: M, M: N) between the entities.

  Create a database and exploring stored procedures in sql

Creating a Database and Exploring Stored Procedures in SQL Server 2008 Tutorial. Create a new sample database called MyDB. Create columns for ID, LastName, FirstName.

  Write an organizational policy

Write an organizational policy or personal policy, if not in the job force to correct the IT-related ethical issue that you described in Paper B1, where you mapped key organizational or personal issues and identified how these digital ethical issu..

  Draw an entity relationship diagram

Draw an entity relationship diagram (ERD) for the following situation: A company has a number of employees. Each employee is identified by an Employee_Id. The company wants to store Employee_Name, Employee_Address, and Employee_BirthDate in the d..

  Explain what project management is and how evolved over time

Explain what project management is, and how it evolved over time

  To what extent should end users be involved

To what extent should end users be involved in the selection of a database management system and database design

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd