Exercise: Wealth append query

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> Access 2010  (66 exercises)
Topic ==> Action queries  (7 exercises)
Level ==> Harder than average
Course ==> Access Developers
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

The folder above contains a database and an Excel spreadsheet.  Open the spreadsheet and add yourself to it (you are now a billionaire - feel free to lie about your age, wealth and native country).

Access 2010 exercise - Action queries (image 1)

Feel free to invent facts, following the trend shown above

Save this spreadsheet, then import it into a new table in the Access database calling it NewBillionaires.

Create an append query to add all of the records in the imported table to the Billionaires table.  You will need to make a few adjustments in the process:

  • Set the position field to 101 for all of the new billionaires.
  • Divide the wealth by 1,000,000,000, since the units for the Access table are in billions.
  • You will find that one of the country fields is named differently, and needs mapping onto the correct field in the append query.

Save this query as AppendBillionaires, then run it and close it down.

Check that the Billionaires table contains two new people.

This page has 0 threads Add post