Query Assignment




Home

Site Map


Objective:  

To create queries (user views) so that input forms and output reports can be more easily implemented.  

Assignment:

bulletLearn about Access queries:
bulletCheck that your description of requirements includes 5 to 10 questions that the users could pose that require data from the database
bulletCreate and save 3 or more queries or different types
bulletPost, review work of others, incorporate suggestion of others in our database

Details:

  1. Learn about Access queries:
    bulletread about them in an Access book
    bulletuse online MS Access help:
    bullettype "Query Overview" into Answer Wizard
    bulletselect "Queries: What they are and how they work", 
    bulletstudy 3 screen pictures, 
    bulletchose "create a query", 
    bulletread about select and parameter queries.
  2. Make sure your database description has 5 or more questions that the user will as of the database.  These must include:
  3. bulletselecting only a subset to records (for example using the Library DB, all patrons who live in Elizabeth or Linden)
    bulletselecting only a subset to records when the criteria isn't known until the query is run (for example, using the Library DB, all books by an author that the user will enter when he/she makes the request)
    bulletdata from two or more tables.  (for example using the Library DB, patrons and all their loans)
    bulletsubtotals and totals
  4. Use MS Access to create queries for your database.
    bulletjoin two or more tables with inner and outer joins (see glossary for explanation, right click on line that connects tables to specify join type)
    bulletwith criteria :
    bulletexact match 
    bulletwild card
    bulletparameter( specify which rows will be selected at runtime.)
    bulletnumbers between certain values
  5. Be sure to document by giving descriptions to the queries (right click on their names in database object view, select properties)
  6. Save 3 or more queries for later use so the basis of forms and/or reports
  7. Compact your database and upload the MDB your  virtual drive and post a short description of what you did (what others should look at) on the Bulletin Board.
  8. When it is posted, download and critique the queries of teammates and other class members.
  9. Respond to your critiques.

Procedure:

  1. Create three or more different types of queries per details above 
  2. Post your database on your virtual drive.
  3. Create a new thread by post a message in the Queries topic on the Bulletin Board that your work is ready to be reviewed.
  4. Check if your teammates or other class members have posted Queries to their Database.
    bulletIf so, download them
    bulletReview them
    bulletPost suggestions as Replies to their post.
  5. Look for suggestions to your Queries
    bulletincorporate suggestions into your design and upload to your directory on the virtual drive. again then note improvement  on Bulletin Board or
    bulletpost reasons you think suggestions won't work
  6. Continue to do step 4 and 5.

[ Site Map Home ]

This page was created by Professor Maureen Greenbaum and was last updated on 02/04/06
Page Name:  Query Assignment
URL:             http://faculty.ucc.edu/business-greenbaum/DB/AsgnmntQueries.htm
Disclaimer:    http://www.ucc.edu/professional_disclaimer.htm
Copyright:      ãMaureen Greenbaum 2001, 2002.  All rights reserved.