Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Early Forms of Data Storage
The Relational Database Structure
The Planning Stage
Data Modeling
Entities and Relationships
Client/Server Databases
Database Management Systems
Structured Query Language
SQL Versions
SQL Components
SQL Syntax
The Power of SQL in Microsoft Access
The Query Wizard
The Query Design Tool and SQL View
Opening Microsoft Access and Switching to SQL View
Opening Microsoft Access
Switching to SQL View
The Data Definition Language Component
Example 1
NULL/NOT NULL Constraint
PRIMARY KEY Constraint
Example 2
FOREIGN KEY Constraint
UNIQUE Constraint
Example 8
Example 9
Updating Records
Example 10
Deleting Records
Example 11
The SELECT Statement
The ORDER BY Clause
Sorting in Descending Order
Sorting in Ascending Order
Sorting Multiple Columns
Sorting Using Numbers
Handling Duplicate Values
The DISTINCT Keyword
The TOP Keyword
The TOP PERCENT Keywords
Example 12
Creating an Alias
Example 13
Example 14
The WHERE Clause
Comparison Operators
Logical Operators
Operator Precedence
The AND, OR, =, and < Operators
The LIKE Operator
The BETWEEN Operator
The IN and NOT Operators
The IS NULL and IS NOT NULL Operators
Operators and Functions
Arithmetic Operators
Aggregate Functions
and MIN () Functions
Using the COUNT () Function
String Functions and Operations
Use of the + and &
Using the LEFT (), UCASE (), LEN (), and TRIM ()
Using the MID () and INSTR () Functions
Date and Time Functions
Inserting Dates into a Table
Using the FORMAT () Function
YEAR () Functions
Miscellaneous Functions
The GROUP BY Clause
Using the GROUP BY Clause with the ORDER BY
The HAVING Clause
Using the HAVING Clause with the WHERE Clause
Table Joins — An Overview
Inner Join
Using the DISTINCTROW Keyword
Self Join
Nested Join
Outer Joins
Right Outer Join
Example 5
Left Outer Join
UNION and UNION ALL Keywords
Example 7
Example 8
Correlated and Non-Correlated Subqueries
The IN Subquery
The EXISTS Subquery
The ANY and SOME Subqueries
The ALL Subquery
at Example 4
Nested Subqueries
Creating a View
Creating a View Using the CREATE VIEW Keywords in SQL-92
Setting the SQL Version for a Current Database
Filtering a Record Through a View
Updating a Record Through a View
Deleting a View
Adding a Column to an Existing Table
Changing a Column
Setting a Default Value for a Column
Removing a Column from a Table
Removing a Table
Improving Data Retrieval Time Using Indexes
Index Options
Creating an Index
Viewing and Editing Indexes
Deleting an Index
Creating a Temporary Table
Accessing the Temporary Table
Querying a Temporary Table
Indexing a Temporary Table
Updating a Temporary Table
Deleting a Temporary Table
Parameter Queries
Creating a Simple Query
Creating a Parameter Query
Customizing Your Dialog Box
Creating Multiple Prompts
Using the LIKE Keyword to Prompt the User
Prompting the User for Dates
Creating a Button to Prompt the User
SQL Syntax for a Parameter Query in SQL View
Fixed Queries vs. “On-the-Fly” Queries
Filtered Recordsets for Combo Boxes
Recordsets for Subforms
Report Filters
Building the Components
ODBC Connection
Building SQL Statements
Differences between Access Projects and Access Databases
Project Window
Database Diagrams
Stored Procedures
Common Rules
0 of .
Results for:
No results containing your search query
P. 1
SQL for Microsoft Access

SQL for Microsoft Access

Ratings: (0)|Views: 144 |Likes:
Published by jadeane1080
SQL & Microsoft Access
SQL & Microsoft Access

More info:

Published by: jadeane1080 on Jun 14, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 8 to 54 are not shown in this preview.
You're Reading a Free Preview
Pages 62 to 237 are not shown in this preview.
You're Reading a Free Preview
Pages 245 to 270 are not shown in this preview.
You're Reading a Free Preview
Pages 278 to 306 are not shown in this preview.
You're Reading a Free Preview
Pages 314 to 359 are not shown in this preview.

Activity (8)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Tomarronis liked this
sleeben liked this
myehia1976 liked this
antpsi liked this
myehia1976 liked this
bhn2you liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->