Give names of manufacturers and their cities that are located in cities with names ending with 'City'. Give all the data for sales from January 21 of 2015 through the end of the month. (Use BETWEEN) List the information of each sale item where 2 or more items were sold but only for sizes 5, 6, and 7 (Use the keyword IN.) Show all sale item information.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Give names of manufacturers and their cities that are located in cities with names ending with 'City'.

Give all the data for sales from January 21 of 2015 through the end of the month. (Use BETWEEN)

List the information of each sale item where 2 or more items were sold but only for sizes 5, 6, and 7 (Use the keyword IN.) Show all sale item information.

Give date and the sum of tax and shipping for each sale from December 20th through December 25th of 2015. (use BETWEEN. Name the calculated column SUM)

Create an alphabetical list of names (first and last, alphabetized by last) of customers in Minnesota.

What is the customerID for Sam Gill?

What are the sales dates and shipping amount of sales with over $55 of shipping charges?

List the data in the Salaried Employees table about Salaried Employees earning between $40000 and $50000. (use between)

Give full names of customers that have a 'D' as the third character in their last names. Eliminate duplicates.

Give names of manufacturers and their cities that are located in cities with names starting with 'C'.

List Employee names (first and last) of employees who manage themselves or have a null value as the manager id.
 
Give the sales data for sales where sales tax was charged and total of tax and shipping is less than $15. (use the NOT operation.) Show all sales data.
 
Give Customer IDs and cities for customers who are located in Chicago, Saint Louis, Baltimore, or Newark. (Use the IN operator.)
What is the full name and phone number of employee 170?
What is the first and last name of customer 610?
Make a list of all Manufacturers including ID, Name, Address1, Address2, City, State and PostalCode.  Only include Manafacturers that have data in the Address2 field. 
Customer
CustomerID
FirstName
LastName
StreetAddress
City
State
PostalCode
Country
Phone
SaleID
SaleDate
| CustomerID
Tax
Sale
Shipping
City
State
ZIP
Phone
Employee
EmployeelD OT
FirstName
LastName
Address
ManagerID
SSN
EmailAddress
OT
HireDate
Saleltem
SaleID
ProductID
ItemSize
Quantity
SalePrice
OT
OT
OT
SalaryEmployee
EmployeelD OT
Salary
WageEmployee
EmployeelD OT
Wage
MaxHours
Product
ProductID
ProductName
ManufacturerID
Composition
ListPrice
Gender
Category
Color
Description
OT
Manufacturer
ManufacturerID O
ManufacturerName
Address1
Address2
City
State
PostalCode
Phone
Fax
Contact
URL
Transcribed Image Text:Customer CustomerID FirstName LastName StreetAddress City State PostalCode Country Phone SaleID SaleDate | CustomerID Tax Sale Shipping City State ZIP Phone Employee EmployeelD OT FirstName LastName Address ManagerID SSN EmailAddress OT HireDate Saleltem SaleID ProductID ItemSize Quantity SalePrice OT OT OT SalaryEmployee EmployeelD OT Salary WageEmployee EmployeelD OT Wage MaxHours Product ProductID ProductName ManufacturerID Composition ListPrice Gender Category Color Description OT Manufacturer ManufacturerID O ManufacturerName Address1 Address2 City State PostalCode Phone Fax Contact URL
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Single Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education