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

Table Of Contents

Introduction
Early Forms of Data Storage
The Relational Database Structure
Keys
The Planning Stage
Data Modeling
Entities and Relationships
Normalization
Client/Server Databases
Database Management Systems
Summary
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
CREATE TABLE Syntax
Constraints
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 DISTINCTROW Keyword
The TOP Keyword
The TOP PERCENT Keywords
Example 12
Creating an Alias
Example 13
Concatenation
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
Qualification
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
UNION
Example 7
UNION ALL
Example 8
Subqueries
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
Basics
Building the Components
ODBC Connection
Code
Building SQL Statements
Overview
Differences between Access Projects and Access Databases
Project Window
Tables
Database Diagrams
Queries
Views
Stored Procedures
Functions
Conclusion
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

Availability:

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

07/25/2014

pdf

text

original

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

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