Sunteți pe pagina 1din 2

Part 1 1. Download the two data files (Source.mdb and Data.

xlsx) from OnCourse under Resources Access Access Exam Review. 2. Create a new, blank Access database. Save the file in this format: AccessReview1Part1_FirstName_LastName (e.g., AccessReview1Part1_Jesse_Zurschmeide) 3. Create a table called Violation using the table design shown below. Specify ViolationCode as the primary key field. Field Name ViolationCode ViolationDesc FineAmt Data Type Text Text Currency Description Primary Key Field Size 2 34 Other Properties Caption: Violation Code Caption: Description Format: Currency Decimal Places: 2

4. Verify that the Violation table that you just created has the same format as the data in the Code worksheet of the Excel file named Data.xlsx. Copy all the records from the Excel worksheet into the Violation table. Adjust the column width to its best fit. 5. Create a second table by importing the Citation table from the Source database (Source.mdb). 6. Create a third table by linking to the Permit table from the Source database (Source.mdb). 7. Create a forth table called Payment by importing it from the Payment worksheet of the Excel file named Data.xlsx. The first row of the data contains column headings. Select Payment ID as a primary key. 8. Create a relationship between the Citation table and the related Violation table. Select the referential integrity option and both cascade options for the relationships. Part 2 9. Download the database file (AccessReviewPart2.accdb) from OnCourse Resources Access Access Exam Review. Save the file in this format: AccessReview1Part2_FirstName_LastName (e.g., AccessReview1Part2_Jesse_Zurschmeide) 10. Add a new record to the Permit table. Use your name and made up other information as necessary.

11. Create a query called SelectedPermits as follows: a. Include all fields from the Permit table. b. Include only permits issued to students with last name Smith or Johnson. 12. Create a query called CollegeCitations as follows: a. Include OwnerLast and OwnerFirst fields from the Permit table and CitationNum, CitationDate, CitationTime and ViolationCode fields from the Citation table. b. Include all citations for the week starting 9/18/2006 until 9/22/2006. c. Sort the query results in the following orders (all ascending): OwnerLast, OwnerFirst, CitationDate, and CitationTime. d. Include all citations except those with the ViolationCode OA or BE. 13. Create a query called PaymentStatistics using data from the Payment table. The query should show total payments along with average, lowest, and highest payment group by date. Apply currency format and appropriate caption for the data.
Payment Date 09/18/2006 09/19/2006 09/20/2006 Total Payment $37.00 $20.00 $50.00 Average Payment $9.25 $6.67 $16.67 Lowest Payment $5.00 $5.00 $10.00 Highest Payment $15.00 $10.00 $25.00

14. Create a Crosstab query called CitationCrosstab based on the citation table. The query should count the number of citations each day categorized by violation code.
Citation Date 09/13/2006 09/18/2006 09/20/2006 BE 1 3 EM 5 2 HA 1 1 OA 4 1 RA 1 4 RD 1 1

15. Export the Citation table into an Excel worksheet. Select the option to export data with formatting and layout. Save the file as Citation.xlsx. 16. There should be 3 completed files for submission: AccessReview1Part1, AccessReview1Part2, and Citation.xlsx

S-ar putea să vă placă și