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

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
DBMS- Chapter-4

DBMS- Chapter-4

Ratings: (0)|Views: 3,192|Likes:
Published by Master

More info:

Categories:Types, School Work
Published by: Master on Jul 17, 2011
Copyright:Attribution Non-commercial

Availability:

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

07/17/2011

pdf

text

original

 
 
 ©Silberschatz, Korth and Sudarshan4.1Database System Concepts
Chapter 4: SQLChapter 4: SQL
s
Basic Structure
s
Set Operations
s
Aggregate Functions
s
Null Values
s
Nested Subqueries
s
Derived Relations
s
Views
s
Modification of the Database
s
Joined Relations
s
Data Definition Language
s
Embedded SQL, ODBC and JDBC
 
 
 ©Silberschatz, Korth and Sudarshan4.2Database System Concepts
Schema Used in ExamplesSchema Used in Examples
 
 
 ©Silberschatz, Korth and Sudarshan4.3Database System Concepts
Basic StructureBasic Structure
s
SQL is based on set and relational operations with certainmodifications and enhancements
s
A typical SQL query has the form:
select
A
1
,
A
2
, ...,
A
from
 
1
,
2
, ...,
where
5
A
represent attributes
5
represent relations
5
is a predicate.
s
This query is equivalent to the relational algebra expression.
A
1
, A2, ..., An 
(
σ
(r 
1
x
2
x ... x
))
s
The result of an SQL query is a relation.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

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