Explore BrainMass

Address Payments in a Database - SQL Query

Start Access, and then open the FirmPays database located in the le4 folder of the zip file. 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.


Solution Summary

This posting contains answers to a few questions based on the given SQL query. The SQL query is also created and attached to the solution.