Sql statement

Assignment Help Basic Computer Science
Reference no: EM13693153

Formulate the following queries

1. List the name of employee whose initial is "s"
2. List the total project budget for each division, including division ID.
3. List the total number of employee and total salary for each division, including division name (use Join, read the text for join operation)
4. List the name of division that sponsors project "Web development", List the project budget too.
5. List the total number of employee whose salary is above $40000 for each division, list division name.
6. List the total number of project and total budget for each division, show division name
7. List the name of employee that worked on more than one projects. Sort name of employee in descending order.
8. List the name of division that has more than 2 projects whose budget is over 3000.
9. List the total number of project each employee works on, including employee's name (note : there are some employees who have same names).
10. List the total number of employees who work on project "Web development". Also list the total working hours for this project.
11. List names that are shared by more than one employee and list the number of employees who share that name.
Bonus question: Use subquery to list the name and division ID of the employee(s) who make more than company's average salary. (For each bonus question 1 point will be rewarded if your answer is 100% correct)
For all your SQL assignments, save the SQL statement and its execution result for each query in a notepad file.
Important note: For each query, you show show your work in this order:
.a. copy the query question
.b. SQL statement
. c. Execution results
(you can copy the SQL statements/results and paste them into notepad document),
Note, you get bonus credits only if you provide 100% correct answer to bonus questions

Reference no: EM13693153

Questions Cloud

Solution has an ammonia concentration of mn(oh)2 : Problem- If a 0.01 M Mn(NO3)2 solution has an ammonia concentration of 6.0 M, should a precipitate of Mn(OH)2 form. Calculate the ion product (reaction quotient) and compare it to Ksp to support your answer.
Carried out the saponification of ethyl tridecanoate : Problem- If you carried out the saponification of ethyl tridecanoate, would you expect the product to generate foam when mixed with water. Why/why not
Explain the molar solubility of ni(oh)2 : Problem- If X = the molar solubility of Ni(OH)2, which of the following represents the correct relationship between the Ksp and X, the molar solubility of Ni(OH)2
The design process ensure a good design : The design process ensure a good design.
Sql statement : SQL statement
Give a formal proof : Give a formal proof
Sql perform the requested tasks : SQL perform the requested tasks
Extraction of tomato paste was done by using ethyl acetate : Problem- An Extraction of tomato paste was done by using ethyl acetate, satuated Nacl and water. After extraction The ethyl acetate layer of the extraction was distilled and the mass of the product remaining was just .032400 grams.
Several lists of salesperson data : Mortimer Life Insurance Company wants several lists of salesperson data

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Computing new computer cost at the end of year

Assume that 5 years from now you would like to trade in the computer and purchase a new one. You expect at 5 % increase in price each year. What would the new computer cost at the end of year 5?

  Which must be populated in the code-behind file

which must be populated in the code-behind file. The values of the new controls must be output when a postback is done.

  Day trader wants to invest a sum of money

Day Trader wants to invest a sum of money that would generate an annually yield of at least $10,000. Two stock groups are available: blue chips and high tech, with average an annual yields of 10% and 25%, respectively

  What is break -even point for upgrades

You have also learned that you can upgrade your CPU to make it 1.4 times as fast for $5,000. Which would you choose to yield the best performance improvemen tfor the least amount of money?

  Fundamental text retrieval tasks using hash-based indexing

In this paper three fundamental text retrieval tasks where hash-based indexing. Which task is more appropriate for a text based search retrieval? Provide reasons to support your answer.

  Describe a group project for which videoconferencing

Describe a group project for which videoconferencing would be a necessity. What options are available for video conferencing.

  Explain findings-conducting internet search for for cde file

Network asminisrator mentions that other "CDE" files have been sent through the FTP server to another site. Explain your findings after conducting the internet search for "CDE" files.

  Modularization

Modularization

  List a list of items for sale of a particular customer

Enter a bid for an item and the bids are stored in an STL priority_queue object. This allows the highest bid to be at front of the queue.

  What is the speedup of the system with l2 cache?

computer calculate the following: (a) What is the L2 read miss penalty? (b) What is the L1 read miss penalty? (c) What is the read penalty (L1 and L2 cache)? (d) Assume 33% (1/3) loads, and everything else is ideal. What is the CPI? (e) What would th..

  Atmega128 is being used to monitor humidity inside test cham

Atmega128 is being used to monitor humidity inside test chamber 03. The device uses two sensors to have some fault tolerance. They are connected to ADC channels 0 and 1. The program uses the average and maximum error of the two values.

  Calculate and display the total retail value of all products

calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the application should stop looping display the final results.

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