List the transaction id and total item quantity made online

Assignment Help Database Management System
Reference no: EM131267228

Please write queries based on the following requirements using Premier Database. Premier Database can be downloaded from Blackboard. You are required to submit SQL query code. You do NOT need to submit your query results. However, it is strongly recommended that you test your queries in Premier Database to make sure your query is accurate.

1. List the employee ID and the full name of the employee who sole or packaged the transactions placed by customer Benjamin Jones. Each employee should only show up once in your results.

2. List the date of the first transaction handled by each employee (represented by employee ID). Show your results in ascending order on employee ID.

3. List the number of transactions handled by each department. Only include the departments who handled transactions. Show your results in descending order on department.

4. List all the full names of the employees who sold item 000078. Show your results in ascending order on employee's last name.

5. List the following information for each transaction: item codes, the full name and mailing address of the member who placed the transaction.

6. List the total number of items sold to members who live in Indiana, Illinois, and Kentucky.

7. List the total number of transactions made by members in each state. Show your results in descending order on state abbreviations.

8. List the each employee's full name and the transaction ID and transaction date he/she handled, include those who haven't handled any transactions.

9. List the number of transactions handled by each department. Include departments that have not handled any transactions. Show your results in ascending order on department.

10. List the transactions by members with first name starts with "B", including members who have not purchased any items. Show the full name of each member in the ascending order on member's last name.

11. List the transaction ID and total item quantity made Online.

12. List the phone number of the members whose transactions were handled by employee with Associate in the job title.

13. List the department that handled less than 5 transactions.

14. List the total number of transactions made by female and male members.

15. List the state from which female members have placed more than 20 transactions. Show those state abbreviate and number of transactions. Rank your results from the highest to the lowest on total number of transactions.

Attachment:- Premier.rar

Reference no: EM131267228

Questions Cloud

What does scripture teach us regarding strength of family : Workers in many occupations want a stronger voice in the workplace and there is increasing recognition that this is a fundamental human right. Do you believe that voice in the workplace is a fundamental human right? Why or why not?
Listens on a tcp port specified : Write a program which listens on a TCP port specified at run time. When a connection is made, the server sends back an HTTP 200 response and HTML text, which when shown in a browser, will display:
Analyze and explain how you would use dns in your plan : Analyze and explain how you would use DNS in your plan. Compose a two-paragraph executive summary highlighting the main points of your plan.
What are its likely connotations : What are its likely connotations?- What images and associations are likely with your item? Make a list of as many as you can.
List the transaction id and total item quantity made online : List the transaction ID and total item quantity made Online. List the phone number of the members whose transactions were handled by employee with Associate in the job title.
Find also the maximum torque and the corresponding speed : Calculate the full-load torque and power developed. Find also the maximum torque and the corresponding speed
What functionality did the site provide : 1. What functionality did the site provide? 2. How was information on the site organized? 3. Was the site easy to use? Explain
Find a binary matrix : How to apply network flow to find a binary matrix with given row and column sums?
What seems to be the message of each ad : What seems to be the message of each ad? How does the item help create or reinforce an image for the product being sold in the ad?

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