Your purpose in acquiring a license for Access is undoubtedly to take advantage of its relational database management capabilities. To do so, you must be able to link related tables based on key fields that have values in common a process called joining tables. Chapter 9, "Designing Queries for Jet Databases," and Chapter 10, "Understanding Jet Operators and Expressions," showed you how to create simple queries based on a single table. If you tried the examples in Chapter 10, you generated a multiple-table query when you joined the Order Details table to the Orders table and the Customers table to create the query for testing expressions. The first part of this chapter deals exclusively with queries created from multiple tables that are related through joins. This chapter provides examples of queries that use each of the four basic types of joins that you can create in Access's Query Design view: inner joins, outer joins, self-joins, and theta joins. It also shows you how to take advantage of UNION queries that you can't create in Access's Query Design. The chapter also briefly covers subqueries, which you can substitute for nested Jet queries. Chapter 13, "Creating and Updating Jet Tables with Action Queries," presents typical applications for and examples of four types of action queries: update, append, delete, and make-table.
For a detailed description of the HRActions table, see "Designing the HRActions Table," p. 179. Tip Read this chapter and create the sample queries sequentially, as the queries appear in text. The sample queries of this chapter build on queries that you create in earlier sections. If you're upgrading from Access 97 to 11, the following features added by Access 2000 apply to the subject matter of this chapter:
For a brief list of these extended properties, see "Access Data Projects and SQL Server 2000," p. 34 |