Write an sql statement that displays the training names

Assignment Help Database Management System
Reference no: EM131441992

DPC Antiques Data Set (Focus - GROUP BY & Aggregate):

1. Write an SQL statement that displays the training names and training costs for courses that cost between 1000 and 1200. Don't use the BETWEEN Clause.

2. Using the BETWEEN Clause, write an SQL statement that displays the training names and training costs for courses that cost between 1000 and 1200. Order the output by Training Cost from highest to lowest.

3. Write an SQL statement that displays training IDs and Training names for all courses that contain the word ‘customer' in the training description. Order the output by training name from A-Z.

4. Write an SQL statement that shows any Null values for States in the CUSTOMER Table.

5. Write an SQL statement to count the number of customers in the CUSTOMER Table. Include an Aliases when appropriate.

6. Write an SQL statement that counts the number of customers from Texas. Include an

7. Write an SQL statement that show the last name closest to Z. Include an Aliases when appropriate.

8. Write an SQL statement that lists last names and first names of all customers. Order the rows from A to Z for last name first, and then first name.

9. Write an SQL statement that shows the lowest and highest employee commission. Include an Aliases when appropriate.

10. Write an SQL statement that shows the employees ID and highest employee commission. Group the data by employees ID. Include an Aliases when appropriate.

11. Write an SQL statement that shows the Customers ID and largest purchase. Don't include groups where the largest purchase was less than 1000. Include an Aliases when appropriate.

12. Write an SQL statement that shows Gender, and the total number or men and women that work for DPC Antiques. Order the output by the total from highest to lowest. Include an Aliases when appropriate.

13. Write an SQL statement that shows the average salary of each employee. Don't include salaries below 30000 in the calculation. Include an Aliases where appropriate.

14. Write an SQL statement that shows the State and average salary of each employee. Don't include salaries below 40000 in the calculation. Include an Aliases when appropriate. In addition, group the averages by State. Don't include groups with less than 2 employees.

15. Write an SQL statement that shows employee IDs that earned an A or B in the training with a training ID of 1.

16. Write an SQL statement that shows employee IDs that have completed more than one class with a grade of B or better. Include an Aliases when appropriate.

Reference no: EM131441992

Questions Cloud

Can standardized processes really work in a setting : As health care looks at continuous improvement (as done in manufacturing), one of the most prominent questions that has arisen is, "Can the principles that worked in manufacturing really transfer over to health care? Taking care of a patient is no..
What kinds of companies should employ the simple structure : What kinds of companies should employ the simple structure organizational configuration? What kind of companies should use the machine bureaucracy form of structure?
Coaching for leadership effectiveness : Coaching is an important element for leadership effectiveness and can be used as an approach to motivation. Leaders who develop and practice coaching skills are more likely to have employees who are engaged and performing at higher levels.
What was the current yield of the bonds : Bonds issued by Fairfax Paint have a par value of 1000 dollars, were priced at 865.35 dollars six months ago, and are priced at 795.11 today.
Write an sql statement that displays the training names : Write an SQL statement that displays the training names and training costs for courses that cost between 1000 and 1200. Don't use the BETWEEN Clause.Using the BETWEEN Clause, write an SQL statement that displays the training names and training co..
What could you do as a project manager : What could you do as a Project Manager to ensure Black Swan's got the attention they should? Imagine a scenario where you're talking to senior management to get them to understand the importance
Assessment of nature of research design : Learning Team assignment is the third part of the cumulative Learning Team project.  This part of the assignment gives students the chance to determine the best approaches to the design of the research such as qualitative versus quantitative and t..
Prepare a paper incorporating feedback from your instructor : Write a 2,000-3,000 word paper in APA format incorporating the feedback from your instructor throughout the course using the Business Design outline below.
Define the term perfectly positively correlated : Assume two investments; A and B. A has an expected return of 10percentage and a standard deviation of 6percentage. B has an expected return 5percentage and a standard deviation of 3percentage.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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