Creating SQL-Specific Queries

SQL (Structured Query Language) is a powerful database language used in querying, updating, and managing relational databases. For each query, Access automatically creates an equivalent SQL statement. If you know SQL, you can edit this statement, or write an entirely new one, to create new, more powerful queries. Access supports three kinds of SQL-specific queries: union, pass-through, and data-definition. Each of these query types fulfills a different need.

Create a SQL-Specific Query


In Query Design view, click the Query menu, and then point to SQL Specific.


Click Union, Pass-Through, or Data Definition.


Enter SQL commands to create the query.


Save and view the query.


Did You Know?

You can view a query in SQL . To see what your query looks like in SQL, click the View button and then click SQL View.

Types of SQL-Specific Queries




A query that combines related fields from multiple tables into one field, thus combining the data from several tables.


A query that sends SQL commands directly to an SQL database server. This allows you to work with tables on the server instead of linking the tables to your Access database.

Data Definition

A query that deletes an index, or creates, alters, or deletes a table.

Show Me Microsoft Office Access 2003
Show Me Microsoft Office Access 2003
ISBN: 0789730049
EAN: 2147483647
Year: 2002
Pages: 318 © 2008-2017.
If you may any questions please contact us: