Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Access
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
About select and crosstab queries (MDB)
 

Select and crosstab queries are the two main ways you query a Microsoft Access database (Microsoft Access database: A collection of data and objects (such as tables, queries, or forms) that is related to a particular topic or purpose. The Microsoft Jet database engine manages the data.) to retrieve just the data you want.

Show Select queries

Show What is a select query?

A select query is the most common type of query. You use it to:

Multiple-table query and query that performs calculations

Callout 1 Bring together data from multiple tables and sort it in a particular order.

Callout 2 Perform calculations on groups of records.

Show Crosstab queries

Show What is a crosstab query?

You use crosstab queries to calculate and restructure data for easier analysis of your data. Crosstab queries calculate a sum, average, count, or other type of total for data that is grouped by two types of information— one down the left side of the datasheet and another across the top.

Comparison of a crosstab and a select query

Callout 1 This select query only groups the totals vertically by employee and category. This results in more records, making comparisons between different employees' totals more difficult.

Callout 2 A crosstab query displays the same information, but groups it both horizontally and vertically so the datasheet is more compact and easier to analyze.

Show Let Microsoft Access create a select or crosstab query for you

Access can often create a query for you so you don't have to design one from scratch.

ShowIf the wizard doesn't start

This could be due to the fact that Access is running in sandbox mode but Microsoft Jet 4.0 SP8 or later is not installed on your computer. Jet 4.0 SP8 or later is required for Access to be fully functional when sandbox mode is enabled.

For more information about installing the Jet upgrade, see the Office Online article About Microsoft Jet 4.0 SP8 or later, at http://office.microsoft.com/assistance/preview.aspx?AssetID=HA010489351033.

For more information about sandbox mode, see the topic About Microsoft Jet Expression Service sandbox mode.

If none of these methods satisfies your needs, you can create the query from scratch in query Design view.

advertisement