Purchase Solution

SQL Select statements

Not what you're looking for?

Ask Custom Question

Word document, SQL Statement (zipped)

Start Access, and then open the FirmPays database located in the LE4 folder extracted from the zip file in IP3. Open the query named "June 2". View the query in SQL, and answer the following questions:
1. Which tables are used in the query?
2. Which fields are displayed in the query results
3. What type of join is used between the tables
4. What selection criteria are used?
Then write a query in SQL in the FirmPays database that fulfills the following parameters:
? Displays the AmtPaid, Firm#, DatePaid, and Payment#
? Selects firm number 1115 and DatePaid between 6-1 and 6-10
? Results should be ordered by payment date
Deliverables: answers to questions 1-4, your SQL statement.

If possible, provide APA references on this project and the one before it.

Attachments
Purchase this Solution

Solution Summary

Solution is detailed SELECT statements as described as required for the FirmPays database.

Solution Preview

Here is the SQL query named "June 2":

SELECT Payment.[Payment#], Payment.AmtPaid, Firm.FirmName
FROM Firm INNER JOIN Payment ON Firm.[Firm#] = Payment.[Firm#]
WHERE (((Payment.DatePaid)=#6/2/2001#));

1. Which tables are used in the query?
Firm and Payment

2. ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

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.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

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.