Purchase Solution

Access SQL queries

Not what you're looking for?

Ask Custom Question

sing the Microsoft Access database Teresa'sTrees, write SQL statements for the given tasks. Once complete, copy the SQL statements from Microsoft Access and paste them in a Microsoft Word document that will be submitted along with part II of the assignment.

Write an SQL statement:

To display all the information from the Customer table
To display each shipping date for customer 1 from the Invoice table
Note: Display both the customer number and the shipping date.

To display the names of all the trees that cost at least $200.00
To display all the information for invoice number 2
To list the phone and last name of all customers
To list the phone, first name, and last name of all customers whose last name starts with "J"
To return the number of customers
To determine the average total invoice amount
To show all the items ordered from invoice number 3
To show the first and last names along with the invoice number of all customers with an invoice of at least $250.00

Purchase this Solution

Solution Summary

Multiple example queries are shown for a multi-table Access database. This includes joins, average values, and row counts.

Solution Preview

See attached

Write an SQL statement:

• To display all the information from the Customer table
SELECT * FROM Customer
• To display each shipping date for customer 1 from the Invoice table
Note: Display both the customer number and the shipping date.
SELECT CustomerID, DateOut
FROM Invoice
WHERE CustomerID = 1
• To display the names of all the trees ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic Networking Questions

This quiz consists of some basic networking questions.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C# variables and classes

This quiz contains questions about C# classes and variables.