News Ticker

Menu

IT540Assignment3 Solution - Organization Access Database with queries

Write SQL statements (queries) to answer the following questions (Make sure to replace XXX with your initials!):

1. Write an SQL statement to list all columns and all rows for the table Service. Save the query results as XXXQ1.

2. Write an SQL statement to list LastName, FirstName, and CellPhone for all employees having an experience level of Master. Save the query results as XXXQ2


3. Write an SQL statement to list the names of employees who have worked on a property in New York. Use a subquery. Save the query results as XXXQ3.

4. Answer question 3 but use a join. Save the query results as XXXQ4.

5. Write an SQL statement to list the names of employees who have worked on a property owned by a corporation. You can use either subquery or join for this question. Save the query results as XXXQ5.

6. Write an SQL statement to show the first name and sum of hours worked for each employee. Save the query results as XXXQ6.

7. Write an SQL statement to show the sum of hours worked for each ExperienceLevel of EMPLOYEE. Sort the results by ExperienceLevel, in descending order. Save the query results as XXXQ7.

8. Write an SQL statement to show the sum of HoursWorked for each type of OWNER but exclude services of employees who have ExperienceLevel of Junior. Save the query results as XXXQ8.

What are you waiting for? Get your solution now :)


Buy now

Share This:

Hassnain

I'm Hassnain. A full time Java Developer. I enjoy to make modern projects. I love to create JavaFX, Java Swing GUI and write about Java Programming, OOP. Now I'm working with CS2IT. You can buy our projects from here.

  • To add an Emoticons Show Icons
  • To add code Use [pre]code here[/pre]
  • To add an Image Use [img]IMAGE-URL-HERE[/img]
  • To add Youtube video just paste a video link like http://www.youtube.com/watch?v=0x_gnfpL3RM