SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

4. SQL in DBMS
4. SQL in DBMS4. SQL in DBMS
4. SQL in DBMS
koolkampus
 
C interview-questions-techpreparation
C interview-questions-techpreparationC interview-questions-techpreparation
C interview-questions-techpreparation
Kushaal Singla
 
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
Rheigh Henley Calderon
 

Mais procurados (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
 

Destaque (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)
 

Semelhante a ch5

5. Other Relational Languages in DBMS
5. Other Relational Languages in DBMS5. Other Relational Languages in DBMS
5. Other Relational Languages in DBMS
koolkampus
 
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybbjhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
jhbuhbhujnhyubhbuybuybuybbuhyybuybuybuybybyubyubybybb
WrushabhShirsat3
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
koolkampus
 

Semelhante a 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
 

Mais de 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
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

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