SlideShare a Scribd company logo
Conception Avancée de Base de Données Exemple canonique : Employés Services
Deux Tables 31 Jasper  34 Smith  34 Robinson  33 Steinberg  33 Jones  31 Rafferty  DepartmentID LastName  Marketing 35 Clerical 34 Engineering 33 Sales 31 DepartmentName DepartmentID
join SELECT Employee.LastName,Department.DepartmentName  FROM  employee, department  WHERE  employee.DepartmentID = department.DepartmentID Sales  Rafferty  Engineering  Steinberg  Clerical  Smith  Engineering  Jones  Clerical  Robinson  Department.DepartmentName  Employee.LastName
cross join, cartesian join, product  SELECT * FROM  employee, department;
35 Marketing  31 Jasper  35 Marketing  34 Robinson  35 Marketing  34 Smith  35 Marketing  33 Steinberg  35 Marketing  33 Jones  35 Marketing  31 Rafferty  34 Clerical  31 Jasper  34 Clerical  34 Robinson  34 Clerical  34 Smith  34 Clerical  33 Steinberg  34 Clerical  33 Jones  34 Clerical  31 Rafferty  33 Engineering  31 Jasper  33 Engineering  34 Robinson  33 Engineering  34 Smith  33 Engineering  33 Steinberg  33 Engineering  33 Jones  33 Engineering  31 Rafferty  31 Sales  31 Jasper  31 Sales  34 Robinson  31 Sales  34 Smith  31 Sales  33 Steinberg  31 Sales  33 Jones  31 Sales  31 Rafferty  Department.DepartmentID Department.DepartmentName  Employee.DepartmentID  Employee.LastName

More Related Content

PPTX
Mystery Jets- Young Love.
PPTX
Photo Album
PPT
LumiNet Presentation
PPT
Order of Operations
PPT
The Magic Numbers
PPT
American Civil War
PPT
Casp Webcast Intro
PPT
NoSQLCamp : MongoDB at IGN
Mystery Jets- Young Love.
Photo Album
LumiNet Presentation
Order of Operations
The Magic Numbers
American Civil War
Casp Webcast Intro
NoSQLCamp : MongoDB at IGN

Viewers also liked (20)

PDF
Makeup Consultations & Professional Makeup: A Beautiful Education
PPTX
20130904 splash maps
PDF
Bay of Plenty Wedding Makeup - 2015
PDF
Ενδεικτική πρόταση για τη Φυσικη β ΕΠΑΛ για το διάστημα Φεβρουάριος- Μαϊος
PPTX
Tet Powerpoint
PDF
Ace presentation gbf korea 26 oct 2011_final
PPTX
asptours
PDF
Where Media Meets Mobile May 2010
PDF
Future Agenda Future Of Cities
PPTX
20150901 Mapping Yorkshire
PDF
2012 0614 mobility tech focus pres (wrt)
PDF
Sowing the Seeds of a Successful Startup
PDF
Future Agenda Future Of Connectivity
PPT
Het Doopsel
PPTX
Political Cartoon
 
PDF
Future Agenda Future Of Transport
DOC
οδηγιες φυσικης χημειας βιολογίας B ΓΕΛ 2012 13
PDF
ΦΕΚ ΔΙΔΑΣΚΑΛΙΑΣ ΒΙΟΛΟΓΙΑΣ Α ΛΥΚΕΙΟΥ 2011-12φεκ διδασκαλιασ βιολογιασ α λυκειο...
PPTX
Lecture 2
Makeup Consultations & Professional Makeup: A Beautiful Education
20130904 splash maps
Bay of Plenty Wedding Makeup - 2015
Ενδεικτική πρόταση για τη Φυσικη β ΕΠΑΛ για το διάστημα Φεβρουάριος- Μαϊος
Tet Powerpoint
Ace presentation gbf korea 26 oct 2011_final
asptours
Where Media Meets Mobile May 2010
Future Agenda Future Of Cities
20150901 Mapping Yorkshire
2012 0614 mobility tech focus pres (wrt)
Sowing the Seeds of a Successful Startup
Future Agenda Future Of Connectivity
Het Doopsel
Political Cartoon
 
Future Agenda Future Of Transport
οδηγιες φυσικης χημειας βιολογίας B ΓΕΛ 2012 13
ΦΕΚ ΔΙΔΑΣΚΑΛΙΑΣ ΒΙΟΛΟΓΙΑΣ Α ΛΥΚΕΙΟΥ 2011-12φεκ διδασκαλιασ βιολογιασ α λυκειο...
Lecture 2
Ad

Similar to E M P2 (20)

PPT
e computer notes - From multiple tables
PPT
Displaying data from multiple tables
PPT
PPT
PPTX
Database Joins
PPT
Les05
PPT
Les05 (Displaying Data from Multiple Table)
PPT
Oracle sql joins
PPT
Displaying Data from Multiple Tables - Oracle Data Base
PDF
SQL Joins and Query Optimization
PPT
SQL Introduction to displaying data from multiple tables
PPT
Les04 Displaying Data from Multiple Tables.ppt
PDF
Sql wksht-6
PDF
Lesson 6 - Relational Algebra.pdf
PDF
2012 08-11 query optimation using column statistic in hive
PPTX
Querying_with_T-SQL_-_03 (1).pptx
PPTX
Querying_with_T-SQL_-_03.pptx
PDF
SQL JOINS
PPTX
e computer notes - From multiple tables
Displaying data from multiple tables
Database Joins
Les05
Les05 (Displaying Data from Multiple Table)
Oracle sql joins
Displaying Data from Multiple Tables - Oracle Data Base
SQL Joins and Query Optimization
SQL Introduction to displaying data from multiple tables
Les04 Displaying Data from Multiple Tables.ppt
Sql wksht-6
Lesson 6 - Relational Algebra.pdf
2012 08-11 query optimation using column statistic in hive
Querying_with_T-SQL_-_03 (1).pptx
Querying_with_T-SQL_-_03.pptx
SQL JOINS
Ad

More from ADB2 (13)

PPT
Jointure Selec Prod 2
PPT
Jointure Naturelle3
PPT
Voc Def1
PPT
S Q L
PPT
T P
PPT
Op Rel2
PPT
Model Relationnel
PPT
Livres3
PPT
Data Anti Pattern4
PPT
Abstraction 1
PPT
Road Map2
PPT
Plan
PPT
Objectifs2
Jointure Selec Prod 2
Jointure Naturelle3
Voc Def1
S Q L
T P
Op Rel2
Model Relationnel
Livres3
Data Anti Pattern4
Abstraction 1
Road Map2
Plan
Objectifs2

Recently uploaded (20)

PPTX
2025 Product Deck V1.0.pptxCATALOGTCLCIA
PDF
Tata consultancy services case study shri Sharda college, basrur
PDF
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
PPTX
CTG - Business Update 2Q2025 & 6M2025.pptx
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PPTX
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers
PDF
Tortilla Mexican Grill 发射点犯得上发射点发生发射点犯得上发生
PDF
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
PDF
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
PPTX
Astra-Investor- business Presentation (1).pptx
PDF
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
PDF
NEW - FEES STRUCTURES (01-july-2024).pdf
PPTX
basic introduction to research chapter 1.pptx
PPTX
Principles of Marketing, Industrial, Consumers,
DOCX
Hand book of Entrepreneurship 4 Chapters.docx
PDF
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
DOCX
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj
PDF
Module 2 - Modern Supervison Challenges - Student Resource.pdf
PDF
PMB 401-Identification-of-Potential-Biotechnological-Products.pdf
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
2025 Product Deck V1.0.pptxCATALOGTCLCIA
Tata consultancy services case study shri Sharda college, basrur
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
CTG - Business Update 2Q2025 & 6M2025.pptx
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers
Tortilla Mexican Grill 发射点犯得上发射点发生发射点犯得上发生
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
Astra-Investor- business Presentation (1).pptx
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
NEW - FEES STRUCTURES (01-july-2024).pdf
basic introduction to research chapter 1.pptx
Principles of Marketing, Industrial, Consumers,
Hand book of Entrepreneurship 4 Chapters.docx
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj
Module 2 - Modern Supervison Challenges - Student Resource.pdf
PMB 401-Identification-of-Potential-Biotechnological-Products.pdf
Solaris Resources Presentation - Corporate August 2025.pdf

E M P2

  • 1. Conception Avancée de Base de Données Exemple canonique : Employés Services
  • 2. Deux Tables 31 Jasper 34 Smith 34 Robinson 33 Steinberg 33 Jones 31 Rafferty DepartmentID LastName Marketing 35 Clerical 34 Engineering 33 Sales 31 DepartmentName DepartmentID
  • 3. join SELECT Employee.LastName,Department.DepartmentName FROM employee, department WHERE employee.DepartmentID = department.DepartmentID Sales Rafferty Engineering Steinberg Clerical Smith Engineering Jones Clerical Robinson Department.DepartmentName Employee.LastName
  • 4. cross join, cartesian join, product SELECT * FROM employee, department;
  • 5. 35 Marketing 31 Jasper 35 Marketing 34 Robinson 35 Marketing 34 Smith 35 Marketing 33 Steinberg 35 Marketing 33 Jones 35 Marketing 31 Rafferty 34 Clerical 31 Jasper 34 Clerical 34 Robinson 34 Clerical 34 Smith 34 Clerical 33 Steinberg 34 Clerical 33 Jones 34 Clerical 31 Rafferty 33 Engineering 31 Jasper 33 Engineering 34 Robinson 33 Engineering 34 Smith 33 Engineering 33 Steinberg 33 Engineering 33 Jones 33 Engineering 31 Rafferty 31 Sales 31 Jasper 31 Sales 34 Robinson 31 Sales 34 Smith 31 Sales 33 Steinberg 31 Sales 33 Jones 31 Sales 31 Rafferty Department.DepartmentID Department.DepartmentName Employee.DepartmentID Employee.LastName