SlideShare ist ein Scribd-Unternehmen logo
1 von 84
Chapter 5: Other Relational Languages  Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
Chapter 5: Other Relational Languages ,[object Object],[object Object],[object Object],[object Object],5.2 Database System Concepts , 5 th  Ed., Aug 2005
Tuple Relational Calculus ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.3 Database System Concepts , 5 th  Ed., Aug 2005
Predicate Calculus Formula ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.4 Database System Concepts , 5 th  Ed., Aug 2005
Banking Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.5 Database System Concepts , 5 th  Ed., Aug 2005
Example Queries ,[object Object],5.6 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object],[object Object],[object Object],[object Object],{ t  |  t    loan    t  [ amount  ]  1200}
Example Queries ,[object Object],5.7 Database System Concepts , 5 th  Ed., Aug 2005 { t  |    s    borrower ( t  [ customer_name  ] =  s  [ customer_name  ])   u    depositor  (  t  [ customer_name  ] =  u  [ customer_name ] ) ,[object Object],{ t  |    s    borrower ( t  [ customer_name  ] =  s  [ customer_name  ])   u    depositor  (  t  [ customer_name  ] =  u  [ customer_name  ])
Example Queries ,[object Object],5.8 Database System Concepts , 5 th  Ed., Aug 2005 { t  |    s    borrower  ( t  [ customer_name  ] =  s  [customer_name ]   u    loan  ( u  [ branch_name  ] = “Perryridge”   u  [ loan_number  ] =  s  [loan_ number  ]))   not   v    depositor  ( v  [ customer_name  ] =  t  [ customer_name  ])} ,[object Object],{ t  |    s    borrower  ( t  [ customer_name  ] =  s  [ customer_name  ]    u    loan  ( u  [ branch_name  ] = “Perryridge”   u  [ loan_number  ] =  s  [ loan_number  ]))}
Example Queries ,[object Object],5.9 Database System Concepts , 5 th  Ed., Aug 2005 { t  |    s    loan  ( s  [ branch_name  ] = “Perryridge”   u    borrower  ( u  [ loan_number  ] =  s  [ loan_number  ]   t  [ customer_name  ] =  u  [ customer_name  ])    v    customer  ( u  [ customer_name  ] =  v  [ customer_name  ]   t  [ customer_city  ] =  v  [ customer_city  ])))}
Example Queries ,[object Object],5.10 Database System Concepts , 5 th  Ed., Aug 2005 { t  |    r   customer  ( t  [ customer_name  ] =  r  [ customer_name  ])  (    u   branch  ( u  [ branch_city  ] = “Brooklyn”     s   depositor  ( t  [ customer_name  ] =  s  [ customer_name  ]     w    account  ( w[ account_number  ] = s [ account_number  ]   (  w  [ branch_name  ] =  u  [ branch_name  ]))))}
Safety of Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.11 Database System Concepts , 5 th  Ed., Aug 2005
Domain Relational Calculus ,[object Object],[object Object],[object Object],[object Object],[object Object],5.12 Database System Concepts , 5 th  Ed., Aug 2005
Example Queries ,[object Object],5.13 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object],[object Object],[object Object],[object Object],{  c   |   l, b, a  (  c, l     borrower     l, b, a     loan    a  > 1200)} ,[object Object],{  l ,  b, a   |   l ,  b, a     loan    a  > 1200}
Example Queries ,[object Object],5.14 Database System Concepts , 5 th  Ed., Aug 2005 {  c   |  s, n  (  c, s, n    customer)    x,y,z  (  x, y, z     branch    y  = “Brooklyn”)    a,b  (  x, y, z     account     c,a     depositor )}  ,[object Object],{  c   |   l  (   c, l     borrower       b,a  (  l, b, a     loan    b  = “Perryridge”))    a  (  c, a     depositor    b,n  (  a, b, n     account    b  = “Perryridge”))}
Safety of Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.15 Database System Concepts , 5 th  Ed., Aug 2005
Query-by-Example (QBE) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.16 Database System Concepts , 5 th  Ed., Aug 2005
QBE — Basic Structure ,[object Object],[object Object],[object Object],5.17 Database System Concepts , 5 th  Ed., Aug 2005
5.18 Database System Concepts , 5 th  Ed., Aug 2005 QBE Skeleton Tables for the Bank Example
QBE Skeleton Tables (Cont.) 5.19 Database System Concepts , 5 th  Ed., Aug 2005
Queries on One Relation ,[object Object],5.20 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object],[object Object],[object Object],[object Object]
Queries on One Relation (Cont.) ,[object Object],5.21 Database System Concepts , 5 th  Ed., Aug 2005 P._x P._y P._z ,[object Object],[object Object]
Queries on One Relation (Cont.) ,[object Object],5.22 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object]
Queries on One Relation (Cont.) ,[object Object],5.23 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object]
Queries on Several Relations ,[object Object],5.24 Database System Concepts , 5 th  Ed., Aug 2005
Queries on Several Relations (Cont.) ,[object Object],5.25 Database System Concepts , 5 th  Ed., Aug 2005
Negation in QBE ,[object Object],5.26 Database System Concepts , 5 th  Ed., Aug 2005 ¬ means “there does not exist”
Negation in QBE (Cont.) ,[object Object],5.27 Database System Concepts , 5 th  Ed., Aug 2005 ¬ means “not equal to”
The Condition Box ,[object Object],[object Object],[object Object],5.28 Database System Concepts , 5 th  Ed., Aug 2005
Condition Box (Cont.) ,[object Object],5.29 Database System Concepts , 5 th  Ed., Aug 2005
Condition Box (Cont.) ,[object Object],5.30 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object]
Condition Box (Cont.) ,[object Object],5.31 Database System Concepts , 5 th  Ed., Aug 2005
The Result Relation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.32 Database System Concepts , 5 th  Ed., Aug 2005
The Result Relation (Cont.) ,[object Object],5.33 Database System Concepts , 5 th  Ed., Aug 2005
Ordering the Display of Tuples ,[object Object],[object Object],[object Object],[object Object],5.34 Database System Concepts , 5 th  Ed., Aug 2005
Aggregate Operations ,[object Object],[object Object],[object Object],5.35 Database System Concepts , 5 th  Ed., Aug 2005
Aggregate Operations (Cont.) ,[object Object],[object Object],5.36 Database System Concepts , 5 th  Ed., Aug 2005
Query Examples ,[object Object],5.37 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object],[object Object],[object Object]
Query Example ,[object Object],[object Object],[object Object],[object Object],5.38 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object],[object Object],[object Object]
Query Example (Cont.) 5.39 Database System Concepts , 5 th  Ed., Aug 2005
Modification of the Database – Deletion ,[object Object],[object Object],[object Object],5.40 Database System Concepts , 5 th  Ed., Aug 2005
Deletion Query Examples ,[object Object],[object Object],5.41 Database System Concepts , 5 th  Ed., Aug 2005
Deletion Query Examples (Cont.) ,[object Object],5.42 Database System Concepts , 5 th  Ed., Aug 2005
Modification of the Database – Insertion ,[object Object],[object Object],5.43 Database System Concepts , 5 th  Ed., Aug 2005
Modification of the Database – Insertion (Cont.) 5.44 Database System Concepts , 5 th  Ed., Aug 2005 ,[object Object]
Modification of the Database – Updates ,[object Object],[object Object],[object Object],5.45 Database System Concepts , 5 th  Ed., Aug 2005
Microsoft Access QBE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.46 Database System Concepts , 5 th  Ed., Aug 2005
5.47 Database System Concepts , 5 th  Ed., Aug 2005 An Example Query in Microsoft Access QBE ,[object Object]
5.48 Database System Concepts , 5 th  Ed., Aug 2005 An Aggregation Query in Access QBE ,[object Object]
Aggregation in Access QBE ,[object Object],[object Object],[object Object],[object Object],[object Object],5.49 Database System Concepts , 5 th  Ed., Aug 2005
Datalog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.50 Database System Concepts , 5 th  Ed., Aug 2005
Basic Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.51 Database System Concepts , 5 th  Ed., Aug 2005
Example Queries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.52 Database System Concepts , 5 th  Ed., Aug 2005
Negation in Datalog ,[object Object],[object Object],[object Object],[object Object],5.53 Database System Concepts , 5 th  Ed., Aug 2005
Named Attribute Notation ,[object Object],[object Object],[object Object],[object Object],5.54 Database System Concepts , 5 th  Ed., Aug 2005
Formal Syntax and Semantics of Datalog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.55 Database System Concepts , 5 th  Ed., Aug 2005
Syntax of Datalog Rules ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.56 Database System Concepts , 5 th  Ed., Aug 2005
Syntax of Datalog Rules (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.57 Database System Concepts , 5 th  Ed., Aug 2005
Semantics of a Rule ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.58 Database System Concepts , 5 th  Ed., Aug 2005
Semantics of a Rule (Cont.) ,[object Object],[object Object],[object Object],[object Object],5.59 Database System Concepts , 5 th  Ed., Aug 2005
Layering of Rules ,[object Object],[object Object],[object Object],5.60 Database System Concepts , 5 th  Ed., Aug 2005
Layering Rules (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],5.61 Database System Concepts , 5 th  Ed., Aug 2005 Formally:
Semantics of a Program ,[object Object],[object Object],[object Object],5.62 Database System Concepts , 5 th  Ed., Aug 2005 Let the layers in a given program be 1, 2, ...,  n.  Let   i  denote the set of all rules defining view relations in layer  i. Note: Can instead define semantics using view expansion like in relational algebra, but above definition is better for handling extensions such as recursion.
Safety ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.63 Database System Concepts , 5 th  Ed., Aug 2005
Relational Operations in Datalog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.64 Database System Concepts , 5 th  Ed., Aug 2005
Recursion in Datalog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.65 Database System Concepts , 5 th  Ed., Aug 2005
Semantics of Recursion in Datalog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.66 Database System Concepts , 5 th  Ed., Aug 2005
Example of Datalog-FixPoint Iteration 5.67 Database System Concepts , 5 th  Ed., Aug 2005
A More General View ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],5.68 Database System Concepts , 5 th  Ed., Aug 2005
The Power of Recursion ,[object Object],[object Object],[object Object],[object Object],5.69 Database System Concepts , 5 th  Ed., Aug 2005
Recursion in SQL ,[object Object],[object Object],5.70 Database System Concepts , 5 th  Ed., Aug 2005
Monotonicity  ,[object Object],[object Object],[object Object],[object Object],[object Object],5.71 Database System Concepts , 5 th  Ed., Aug 2005
Non-Monotonicity ,[object Object],[object Object],[object Object],[object Object],5.72 Database System Concepts , 5 th  Ed., Aug 2005
Non-Monotonicity (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],5.73 Database System Concepts , 5 th  Ed., Aug 2005
End of Chapter 5 Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
Figure 5.1 5.75 Database System Concepts , 5 th  Ed., Aug 2005
Figure 5.2 5.76 Database System Concepts , 5 th  Ed., Aug 2005
Figure 5.5 5.77 Database System Concepts , 5 th  Ed., Aug 2005
Figure 5.6 5.78 Database System Concepts , 5 th  Ed., Aug 2005
Figure 5.9 5.79 Database System Concepts , 5 th  Ed., Aug 2005
Figure in-5.2 5.80 Database System Concepts , 5 th  Ed., Aug 2005
Figure in-5.15 5.81 Database System Concepts , 5 th  Ed., Aug 2005
Figure in-5.18 5.82 Database System Concepts , 5 th  Ed., Aug 2005
Figure in-5-31 5.83 Database System Concepts , 5 th  Ed., Aug 2005
Figure in-5.36 5.84 Database System Concepts , 5 th  Ed., Aug 2005

Weitere ähnliche Inhalte

Was ist angesagt?

Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Beat Signer
 
4. SQL in DBMS
4. SQL in DBMS4. SQL in DBMS
4. SQL in DBMSkoolkampus
 
CIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comCIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comJaseetha16
 
Week 8 (trees)
Week 8 (trees)Week 8 (trees)
Week 8 (trees)amna izzat
 
Database Assignment
Database AssignmentDatabase Assignment
Database AssignmentJayed Imran
 
Trees (data structure)
Trees (data structure)Trees (data structure)
Trees (data structure)Trupti Agrawal
 
The Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database ConstraintsThe Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database Constraintssontumax
 
Coclustering Base Classification For Out Of Domain Documents
Coclustering Base Classification For Out Of Domain DocumentsCoclustering Base Classification For Out Of Domain Documents
Coclustering Base Classification For Out Of Domain Documentslau
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATELShashi Patel
 
C interview-questions-techpreparation
C interview-questions-techpreparationC interview-questions-techpreparation
C interview-questions-techpreparationKushaal Singla
 
1.5 binary search tree
1.5 binary search tree1.5 binary search tree
1.5 binary search treeKrish_ver2
 
Binary Search Tree and AVL
Binary Search Tree and AVLBinary Search Tree and AVL
Binary Search Tree and AVLKatang Isip
 
2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computer2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computerRheigh Henley Calderon
 
17. Trees and Graphs
17. Trees and Graphs17. Trees and Graphs
17. Trees and GraphsIntro C# Book
 

Was ist angesagt? (20)

Cs501 rel algebra
Cs501 rel algebraCs501 rel algebra
Cs501 rel algebra
 
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
 
4. SQL in DBMS
4. SQL in DBMS4. SQL in DBMS
4. SQL in DBMS
 
CIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comCIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.com
 
Week 8 (trees)
Week 8 (trees)Week 8 (trees)
Week 8 (trees)
 
Database Assignment
Database AssignmentDatabase Assignment
Database Assignment
 
Trees (data structure)
Trees (data structure)Trees (data structure)
Trees (data structure)
 
The Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database ConstraintsThe Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database Constraints
 
Dbms3
Dbms3Dbms3
Dbms3
 
Coclustering Base Classification For Out Of Domain Documents
Coclustering Base Classification For Out Of Domain DocumentsCoclustering Base Classification For Out Of Domain Documents
Coclustering Base Classification For Out Of Domain Documents
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
 
C interview-questions-techpreparation
C interview-questions-techpreparationC interview-questions-techpreparation
C interview-questions-techpreparation
 
1.5 binary search tree
1.5 binary search tree1.5 binary search tree
1.5 binary search tree
 
Ch3
Ch3Ch3
Ch3
 
Dbms module ii
Dbms module iiDbms module ii
Dbms module ii
 
Binary Search Tree and AVL
Binary Search Tree and AVLBinary Search Tree and AVL
Binary Search Tree and AVL
 
2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computer2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computer
 
17. Trees and Graphs
17. Trees and Graphs17. Trees and Graphs
17. Trees and Graphs
 
record_linking
record_linkingrecord_linking
record_linking
 
Pl vol1
Pl vol1Pl vol1
Pl vol1
 

Andere mochten auch (9)

Prolog: Cuts And Negation In Prolog
Prolog: Cuts And Negation In PrologProlog: Cuts And Negation In Prolog
Prolog: Cuts And Negation In Prolog
 
week-1x
week-1xweek-1x
week-1x
 
week-18x
week-18xweek-18x
week-18x
 
week-10x
week-10xweek-10x
week-10x
 
week-11x
week-11xweek-11x
week-11x
 
BrainFingerprintingpresentation
BrainFingerprintingpresentationBrainFingerprintingpresentation
BrainFingerprintingpresentation
 
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENTDISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
 
ch6
ch6ch6
ch6
 
PPT (2)
PPT (2)PPT (2)
PPT (2)
 

Ähnlich wie ch5 (20)

Cs501 trc drc
Cs501 trc drcCs501 trc drc
Cs501 trc drc
 
1643 y є r relational calculus-1
1643 y є r  relational calculus-11643 y є r  relational calculus-1
1643 y є r relational calculus-1
 
Relational Model
Relational ModelRelational Model
Relational Model
 
ch6.ppt
ch6.pptch6.ppt
ch6.ppt
 
ch4
ch4ch4
ch4
 
5. Other Relational Languages in DBMS
5. Other Relational Languages in DBMS5. Other Relational Languages in DBMS
5. Other Relational Languages in DBMS
 
3.ppt
3.ppt3.ppt
3.ppt
 
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybbjhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
 
ch2.ppt
ch2.pptch2.ppt
ch2.ppt
 
VNSISPL_DBMS_Concepts_ch5
VNSISPL_DBMS_Concepts_ch5VNSISPL_DBMS_Concepts_ch5
VNSISPL_DBMS_Concepts_ch5
 
Lllll
LllllLllll
Lllll
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
 
03 Relational Databases.ppt
03 Relational Databases.ppt03 Relational Databases.ppt
03 Relational Databases.ppt
 
ch3[1].ppt
ch3[1].pptch3[1].ppt
ch3[1].ppt
 
Details of RDBMS.ppt
Details of RDBMS.pptDetails of RDBMS.ppt
Details of RDBMS.ppt
 
DBMS Unit-2.pdf
DBMS Unit-2.pdfDBMS Unit-2.pdf
DBMS Unit-2.pdf
 
check 11
check 11check 11
check 11
 
SQL PPT.ppt
SQL PPT.pptSQL PPT.ppt
SQL PPT.ppt
 
Relational database concept
Relational database conceptRelational database concept
Relational database concept
 
ch7
ch7ch7
ch7
 

Mehr von KITE www.kitecolleges.com (19)

ch14
ch14ch14
ch14
 
ch16
ch16ch16
ch16
 
holographic versatile disc
holographic versatile discholographic versatile disc
holographic versatile disc
 
week-22x
week-22xweek-22x
week-22x
 
week-16x
week-16xweek-16x
week-16x
 
week-5x
week-5xweek-5x
week-5x
 
week-6x
week-6xweek-6x
week-6x
 
week-3x
week-3xweek-3x
week-3x
 
ch8
ch8ch8
ch8
 
Intro Expert Systems test-me.co.uk
Intro Expert Systems test-me.co.ukIntro Expert Systems test-me.co.uk
Intro Expert Systems test-me.co.uk
 
ch17
ch17ch17
ch17
 
week-7x
week-7xweek-7x
week-7x
 
week-9x
week-9xweek-9x
week-9x
 
week-4x
week-4xweek-4x
week-4x
 
week-14x
week-14xweek-14x
week-14x
 
AIRBORNE
AIRBORNEAIRBORNE
AIRBORNE
 
week-23x
week-23xweek-23x
week-23x
 
week-2x
week-2xweek-2x
week-2x
 
Entity Classes and Attributes
Entity Classes and AttributesEntity Classes and Attributes
Entity Classes and Attributes
 

Kürzlich hochgeladen

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 

Kürzlich hochgeladen (20)

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 

ch5

  • 1. Chapter 5: Other Relational Languages Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. 5.18 Database System Concepts , 5 th Ed., Aug 2005 QBE Skeleton Tables for the Bank Example
  • 19. QBE Skeleton Tables (Cont.) 5.19 Database System Concepts , 5 th Ed., Aug 2005
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39. Query Example (Cont.) 5.39 Database System Concepts , 5 th Ed., Aug 2005
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67. Example of Datalog-FixPoint Iteration 5.67 Database System Concepts , 5 th Ed., Aug 2005
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74. End of Chapter 5 Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 75. Figure 5.1 5.75 Database System Concepts , 5 th Ed., Aug 2005
  • 76. Figure 5.2 5.76 Database System Concepts , 5 th Ed., Aug 2005
  • 77. Figure 5.5 5.77 Database System Concepts , 5 th Ed., Aug 2005
  • 78. Figure 5.6 5.78 Database System Concepts , 5 th Ed., Aug 2005
  • 79. Figure 5.9 5.79 Database System Concepts , 5 th Ed., Aug 2005
  • 80. Figure in-5.2 5.80 Database System Concepts , 5 th Ed., Aug 2005
  • 81. Figure in-5.15 5.81 Database System Concepts , 5 th Ed., Aug 2005
  • 82. Figure in-5.18 5.82 Database System Concepts , 5 th Ed., Aug 2005
  • 83. Figure in-5-31 5.83 Database System Concepts , 5 th Ed., Aug 2005
  • 84. Figure in-5.36 5.84 Database System Concepts , 5 th Ed., Aug 2005