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
6Activity
P. 1
SQL

SQL

Ratings: (0)|Views: 98 |Likes:
Published by RajaRaman.G
Uploaded from Google Docs
Uploaded from Google Docs

More info:

Published by: RajaRaman.G on Sep 17, 2010
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

11/01/2011

pdf

text

original

 
SQL
Basic StructureSet OperationsAggregate FunctionsNull ValuesNested Sub queriesDerived RelationsViewsModification of the DatabaseJoined RelationsData Definition LanguageEmbedded SQL, ODBC and JDBC
 
Schema Used in Examples
 
Basic Structure
SQL is based on set and relational operations withcertain modifications and enhancementsA typical SQL query has the form:
select
 A
1
,
 A
2
, ...,
 A
n
from
1
,
2
, ...,
m
where
 A
s
represent attributes
s
represent relations
is a predicate.This query is equivalent to the relational algebraexpression.
 A
1
 , A2, ..., An
(
σ
(r 
1
x
2
x ... x
m
))The result of an SQL query is a relation.

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
Vishal Kumar liked this
Mike Dominguez liked this
shradhasuman liked this
Anurag Goel liked this
vaishuprasad liked this

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)//-->