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
1Activity

Table Of Contents

Using the % Wildcard
Using the _ Wildcard
Using the [charlist] Wildcard
SQL IN Operator
The IN Operator
SQL IN Syntax
IN Operator Example
SQL BETWEEN Operator
The BETWEEN Operator
SQL BETWEEN Syntax
BETWEEN Operator Example
Example 2
SQL Alias
SQL Alias Syntax for Tables
SQL Alias Syntax for Columns
Alias Example
SQL Joins
SQL JOIN
O_Id OrderNo P_Id
Different SQL JOINs
SQL INNER JOIN Keyword
SQL INNER JOIN Syntax
SQL INNER JOIN Example
LastName FirstName OrderNo
SQL LEFT JOIN Keyword
SQL LEFT JOIN Syntax
SQL LEFT JOIN Example
SQL RIGHT JOIN Keyword
SQL RIGHT JOIN Syntax
SQL RIGHT JOIN Example
SQL FULL JOIN Keyword
SQL FULL JOIN Syntax
SQL FULL JOIN Example
SQL UNION Operator
The SQL UNION Operator
SQL UNION Syntax
SQL UNION ALL Syntax
SQL UNION Example
"Employees_Norway":
E_ID E_Name
"Employees_USA":
E_Name
SQL UNION ALL Example
Result
SQL SELECT INTO Statement
The SQL SELECT INTO Statement
SQL SELECT INTO Example
SQL SELECT INTO - With a WHERE Clause
SQL SELECT INTO - Joined Tables
SQL CREATE DATABASE Statement
The CREATE DATABASE Statement
SQL CREATE DATABASE Syntax
CREATE DATABASE Example
SQL CREATE TABLE Statement
The CREATE TABLE Statement
SQL CREATE TABLE Syntax
CREATE TABLE Example
SQL Constraints
SQL NOT NULL Constraint
SQL UNIQUE Constraint
SQL UNIQUE Constraint on CREATE TABLE
MySQL:
SQL Server / Oracle / MS Access:
MySQL / SQL Server / Oracle / MS Access:
SQL UNIQUE Constraint on ALTER TABLE
To DROP a UNIQUE Constraint
SQL PRIMARY KEY Constraint
SQL PRIMARY KEY Constraint on CREATE TABLE
SQL PRIMARY KEY Constraint on ALTER TABLE
To DROP a PRIMARY KEY Constraint
SQL FOREIGN KEY Constraint
SQL FOREIGN KEY Constraint on CREATE TABLE
SQL FOREIGN KEY Constraint on ALTER TABLE
To DROP a FOREIGN KEY Constraint
SQL CHECK Constraint
SQL CHECK Constraint on CREATE TABLE
My SQL:
SQL CHECK Constraint on ALTER TABLE
To DROP a CHECK Constraint
SQL DEFAULT Constraint
SQL DEFAULT Constraint on CREATE TABLE
My SQL / SQL Server / Oracle / MS Access:
SQL DEFAULT Constraint on ALTER TABLE
To DROP a DEFAULT Constraint
SQL CREATE INDEX Statement
Indexes
SQL CREATE INDEX Syntax
SQL CREATE UNIQUE INDEX Syntax
SQL DROP INDEX, DROP TABLE, and DROP DATABASE
The DROP INDEX Statement
DROP INDEX Syntax for MS Access:
DROP INDEX Syntax for MS SQL Server:
DROP INDEX Syntax for DB2/Oracle:
DROP INDEX Syntax for MySQL:
The DROP TABLE Statement
The DROP DATABASE Statement
The TRUNCATE TABLE Statement
SQL ALTER TABLE Statement
The ALTER TABLE Statement
SQL ALTER TABLE Syntax
SQL ALTER TABLE Example
P_Id LastName FirstName Address City DateOfBirth
Change Data Type Example
DROP COLUMN Example
SQL AUTO INCREMENT Field
AUTO INCREMENT a Field
Syntax for MySQL
Syntax for SQL Server
Syntax for Access
Syntax for Oracle
SQL Views
SQL CREATE VIEW Syntax
SQL CREATE VIEW Examples
SQL Updating a View
SQL CREATE OR REPLACE VIEW Syntax
SQL Dropping a View
SQL DROP VIEW Syntax
SQL Date Functions
SQL Dates
MySQL Date Functions
Function Description
SQL Server Date Functions
SQL Date Data Types
SQL Working with Dates
OrderId ProductName OrderDate
SQL NULL Values
SQL Working with NULL Values
SQL IS NULL
LastName FirstName Address
SQL IS NOT NULL
SQL NULL Functions
P_Id ProductName UnitPrice UnitsInStock UnitsOnOrder
SQL Server / MS Access
Oracle
MySQL
SQL Data Types
Microsoft Access Data Types
Data type Description Storage
MySQL Data Types
Text types:
Data type Description
Number types:
Date types:
SQL Server Data Types
Character strings:
Unicode strings:
Binary types:
Other data types:
0 of .
Results for:
No results containing your search query
P. 1
SQL Advance

SQL Advance

Ratings: (0)|Views: 24|Likes:
Published by vrinc

More info:

Published by: vrinc on Jan 22, 2011
Copyright:Attribution Non-commercial

Availability:

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

11/13/2011

pdf

text

original

You're Reading a Free Preview
Pages 5 to 41 are not shown in this preview.

You're Reading a Free Preview

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