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

  Create a visual representation of monthly data

Create a visual representation of monthly data, Summarize Monthly Data for each product during the last 12 months

  Installing the ms-sql server on your computer

Use Hands-on Projects that are in the back of your Chapter to introduce you to the Microsoft SQL Server 2008.

  Assume that a student table in a university

Assume that a student table in a university database has an index on StudentID (the primary key). and additional indexes on Major, Age, Marital status, and HomeZipCode.

  Discuss three different ways to create an oracle database

Discuss three different ways to create an Oracle Database. What are the advantages/disadvantages of each method. What is the difference between control files and redo logs. What is a datafile. What is a tablespace

  What is the difference between database types and capacities

What is the difference between database types and capacities? How do data inaccuracies affect patient care and reimbursement?

  Create a function

Create a function that returns the day of the week for a specified date. Create a trigger that displays the message "Emp table updated" when an update to the employee table increases the employee's basic salary.

  Database design implementation

Database design implementation Project Description The project report must contain the the points given below to comlete the assignment Table of contents

  Recognize level within a database system

Recognize level within a database system (user, programmer of application software, and designer of the DBMS software) at which each of the following concerns or activities occur.

  Create the digitalx database

Create the DigitalX database. Design tables and relationships and ensure that email addresses may only be used once in the database.

  Whats the difference between a filter and a query

Whats the difference between a filter and a query

  Produce a set of relations

An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.

  What classes are necessary to obtain a specific degree

What degree is the student working towards. A student can only work on one degree at a time. What classes are necessary to obtain a specific degree

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