List the price of the item called back scratcher

Assignment Help Database Management System
Reference no: EM13335041

The database used for this question is a very simple one with the following schema: (Primary keys are bold, foreign keys are underlined)

CUSTOMER (CustID, FirstName, LastName, City, Phone, Email)
INVOICE (InvoiceNumber, CustID, Date)
INVOICE_ITEM(InvoiceNumber, ItemNumber, Quantity)
ITEM (ItemNumber, ItemName, UnitPrice)

When a customer makes a purchase, an invoice is created. The invoice may be for many items. For example, in a single purchase, a customer might buy 10 Back Scratchers, 4 Hair Removers and a Dog Lead.

Provide relational algebra (NOT SQL) queries for the following:

a. List the first and last names of Customers who come from the City named Perth.
b. List the first and last names of customers who had transactions on 1st August 2012.
c. List the price of the item called "Back Scratcher"
d. List the first and last names of any customer who has purchased more than 10 "Back Scratchers" in a single transaction.
e. List the names and quantities of items purchased on 1st August 2012 by the customer Peter Griffin.
f. List the dates on which Peter Griffin made purchases.
g. List the first and last names of customers who have bought "Back Scratcher" or "Hair Remover"
h. List the first and last names of customers who have bought "Back Scratcher" but have not bought "Hair Remover"
i. List the first and last names of customers who have bought "Back Scratcher" and "Hair Remover"
j. List the first and last names of any customers who have bought all of the items. (This does not need to be as part of a single purchase).

Reference no: EM13335041

Questions Cloud

What is the centripetal acceleration of the child : A 55.0-kg child takes a ride on a Ferris wheel that rotates four times each minute and has a diameter of21.0 m. What is the centripetal acceleration of the child
Explain the law of diminishing marginal utility : Explain the law of diminishing marginal utility.
What is the mass of the copper block : A copper block is removed from a 301?C oven and dropped into 1.20kg of water at 20.1?C. What is the mass of the copper block
Explain the nitrogen-nitrogen bond lengths in n2h4 : The nitrogen-nitrogen bond lengths in N2H4, N2F2, and N2 are 1.45, 1.25, and 1.10 A, respectively. Using the Lewis Structures, how can this trend be explained? No formal charges needed?
List the price of the item called back scratcher : List the first and last names of any customers who have bought all of the items. (This does not need to be as part of a single purchase).
Hierarchical planning types of time frames in planning role : Hierachical Planning Types of time frames in planning Role players Steps in production planning Planning techniques Resources
What is the most a firm should pay the first security guard : If each security guard is paid $200 a week, and the cost of the stolen radio is $25, how many guards are needed to hire?
Will electronic distrubition dislays traditional distrubiton : Will electronic distrubition dislays traditional distrubiton channels for movies?
Prepare contribution format income statements for april : Prepare contribution format income statements for April. (Round the "Total percent" answers to one decimal place. Input all amounts as positive values except losses which should be indicated by minus sign. Omit the "$" and "%" signs in your respon..

Reviews

Write a Review

 

Database Management System Questions & Answers

  Show the rea diagram using microsoft word

Show the REA diagram using Microsoft Word

  Execution of the SQL commands - Create Tables using SQL DDL

The appropriate SQL command which should be copied from your source code in MySQL and resultant tables, which must be screenshots to show the change due to the execution of the SQL commands

  Does the resulting relation have an mvd

Does the above have one or more functional dependency (do not list FDs by applying derivation rules)? If so, what is it? Show how you will remove it by decomposition.

  Write command to list all employees in descending order

Write a command to list all the employees hired in 2003 and 2004. Sort the rows by the hire_date column in descending order.

  Explain the primary and foreign keys for each table

Instructions- This assignment builds on your first two assignments using Access and asks you to consider the process of designing, implementing, and converting data.

  Case - max in the state department

Construct a diagram using Rationale to map the arguments about a moral claim that you have identified in the article/case study and write an essay, which maps closely to the Rationale diagram that you constructed.

  Build a gantt chart using microsoft project

Discuss what it will take to build a Web architecture, move an existing Website with minimal downtime, and provide a disaster recovery solution to ensure the site is always available.

  Edinburgh airport case study

Discuss why a relational database would be suitable for the organisation in the case study and provide three reasons for this recommendation and discuss using three advantages that a database management system provides to an organisation.

  Study and modify the postgresql source code

Write a Assignment to study and modify the PostgreSQL source code, with a focus on one of the core modules - the buffer manager

  Security associated with new project

Your company has put in the request for a new database system and you have been tasked with architecting the security associated with this new project.

  Complete information-level design for set of requirements

A database at a college is required to support the following requirements. Complete the information-level design for this set of requirements. Determine any constraints you need that are not stated in the problem.

  Write a monitor using to implement readers-writers problem

Suppose that we replace the wait and signal operations of monitors with a single construct await(B), where B is a general Boolean expression. Write a monitor using this scheme to implement the readers--writers problem.

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