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

  Your lecturer will place several links in interact to a

your lecturer will place several links in interact to a number of relevant articles andor case studies. these will be

  Define and discuss the concept of transitive dependency

Define and discuss the concept of transitive dependency. What is a surrogate key, and when should you use one? What is a partial dependency? With what normal form is it associated?

  Create a select querybased on the tblpatient table

Create a new index for the tblTherapist table based on the Lastfield. The index should Allow for duplicate values. Save and close the tblTherapist table. Create a Select querybased on the tblPatient table.

  Implementation of virtual private databases

SQL implements VPD using the VIEW object while Oracle10g provides specific functions for row-level security and fine-grained access.

  Write sql select statements to retrieve

How many models of the Titanic have been shipped? What was the date of the first shipment and when was the last shipment sent - Write SQL SELECT statements to retrieve

  Write a five pages research paper about oracle

Write a five pages research paper about Oracle, Microsoft SQL server, SyBase, DB2 and MySQL. The paper is focus on Enitity/Relation model and relational database. You need to provide the hosories of ER Model and relational databases.

  Design and build a small database application

In Word, identify a potential database application. It should be based on data you understand well, such as student data (refer to text), a hobby (see Lesson 8), or a set of data you use on the job. When you have made your choice, proceed to Step ..

  Create a table having all combinations of ice cream

create a table having all combinations of Ice cream: chocolate, vanilla, coffee, strawberry.

  How linked data can be used in semantic web applications

Explain how linked data can be used in semantic web applications and give suggestions forhow linked data might be used with the representations you have created

  What are the limitations of conventional approach

1. What are the limitations of conventional approach of managing data? Explain.2. For what record size will clustering be of no benefit to improve performance? Can a table have clustering on multiple fields simultaneously?

  Creating erd containing order and customer entity

Create ERD containing Order and Customer entity types connected by 1-M relationship from Customer to Order. Select suiatble relationship name using your common knowledge of intersection.

  Write a pl/sql program to compute the sum of even number

Write an anonymous PL/SQL program to print out the GPA of John - write a PL/SQL program to compute the sum of even number

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