SlideShare une entreprise Scribd logo
1  sur  48
SQL Server 2000 Copyright ©  2002-2007.   Mcube Investment Software Pvt Ltd, Bangalore India Souvik Bhowmik
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PART 1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Database Fundamentals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relational Design Basics ,[object Object],Relational Flat File   ---- ---- ---- ---- ----- ---- …… … . Producer Album Artist CD No Artist Album Producer
Relational Design Basics  contd…. Entity – Relationship Model ER model is a conceptual data model that views the real world as entities and relationships. Entities  -  Entities  are the principal data object about which information is to be collected.  e.g . Employee, Department etc. Attributes  -  Attributes  describe the entity of which they are associated. A particular instance of an attribute is a  value . e.g . Employee can have attributes like Employee Name, Employee Number etc. Relationships  –  Relationship  represents an association between two or more entities.
Relational Design Basics  contd…. ,[object Object],Employee Department Employee  ID Department  ID One Many Manages ,[object Object],[object Object],[object Object]
Normal Form ,[object Object],[object Object],[object Object],Jack John  Bob 8 Sam Brat Paul 11 Student_3 Student_2 Student_1 Room_No John 8 Paul 11 Bob 8 Student Room_No 222 8 2 111 8 1 333 11 3 Student_ID Room No ID
Normal Form  contd… ,[object Object],[object Object],[object Object],[object Object],XYZ Street ABC Shipping 1/1/07 111 XYZ Street ABC Shipping 1/1/07 222 Address Shipper Date Order No 1 1/1/07 222 1 1/1/07 111 Shipper No Date  Order No XYZ Street ABC Shipping 1 Address Name Shipper No
ASP.NET Architecture Normal Form  contd… ,[object Object],[object Object],[object Object],[object Object],14 8 6 21 16 4 12 32 Total Female Students Male Students Class ID
Relationships ,[object Object],[object Object],[object Object],Bob 135 Name Customer ID 32 135 Age Customer ID 1 1 1 136 1/1/07 222 Bob 135 Name Customer ID ABC Shipping 1 Name Shipper ID 1 1 Shipper ID 136 135 Customer ID 1/1/07 111 1/1/07 222 Date Order No 1 Many 1 Many Bob 135 Name Customer ID ABC Shipping 1 Name Shipper ID 1 Shipper ID 135 Customer ID 1/1/07 111 Date Order No 1 Many 1 Many 1 1/1/07 222 ABC Shipping 1 Name Shipper ID 1 1/1/07 111 Date Shipper ID Order No 1 Many
Peek into SQL Server Database ,[object Object],[object Object]
[object Object],[object Object]
Part 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to SQL Server ,[object Object],[object Object],[object Object],[object Object],Client Request Response Server   1 Server   n SQL Server  participating in an N-Tier Environment
Introduction to SQL Server  contd… ,[object Object],[object Object],OLTP OLAP OLTP   – Data directly updated by Users. OLAP  – Data Migrated from OLTP Systems. ,[object Object],[object Object],[object Object],[object Object],[object Object]
SQL Server Databases ,[object Object],SAMPLE Database TempDB Pubs Northwind Model MSDB Master ,[object Object],[object Object],[object Object],[object Object]
Database Objects Tables Constraints Indexes Rules Views Defaults Data Types Stored Procedures Triggers User  Defined  Functions Database Objects
System Tables and Informational Views ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]
Part 3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Transact – SQL ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating, Altering, Dropping Database ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating, Altering, Deleting Database  contd… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating, Altering and Deleting Table ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SELECT Keyword ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JOIN Keyword ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1500 NULL NULL Jeffrey 3 Employee 2000 20 200 Bob 2 1000 10 100 Leo 1 Salary JobID DeptNo EmpName EmpID Engineering 300 Management 200 Production 100 DeptName DeptNo Department Engineer 30 Manager 20 Worker 10 JobDesc JobID Jobs
JOIN Keyword   - INNER JOIN ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],deptname deptno salary empname empid Management 200 2000 Bob 2 Production 100 1000 Leo 1
JOIN Keyword  - OUTER JOIN ,[object Object],[object Object],[object Object],[object Object]
JOIN Keyword  - Left Outer Join ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SELECT * FROM Employees AS E LEFT OUTER JOIN Departments AS D  ON  E.deptno = D.deptno ,[object Object],[object Object],30 20 10 JobID NULL NULL 1500 Jeffrey 3 Deptname Deptno Salary Empname Empid Management 200 2000 Bob 2 Production 100 1000 Leo 1
JOIN Keyword  - Right Outer Join ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SELECT * FROM Employees AS E RIGHT OUTER JOIN Departments AS D  ON E.deptno = D.deptno ,[object Object],[object Object],NULL 20 10 JobID Engineering 300 NULL NULL NULL Deptname Deptno Salary Empname Empid Management 200 2000 Bob 2 Production 100 1000 Leo 1
JOIN Keyword  - FULL Outer Join SELECT * FROM Employees AS E FULL OUTER JOIN Departments AS D ON E.deptno = D.deptno NULL 30 20 10 JobID Engineering 300 NULL NULL NULL NULL NULL 1500 Jeffrey 3 Deptname Deptno Salary Empname Empid Management 200 2000 Bob 2 Production 100 1000 Leo 1
JOIN Keyword  - Cross Join ,[object Object],[object Object],[object Object],SELECT deptname, jobdesc FROM Departments CROSS JOIN Jobs Manager Production Manager Management Manager Engineering Worker Engineering Worker Management Worker Production JobDesc Deptname
Inserting Updating and Deleting Data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming with Transact – SQL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Bonus Salary Age ID First_Name Last_Name Employee_Details
[object Object],[object Object]
Part 4 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Views ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using  Constraints ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Stored Procedures ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Cursors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Cursors contd… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Triggers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Triggers  contd… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using Rules ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating and Using User-Defined Functions ,[object Object],[object Object],[object Object]
[object Object],[object Object]
Thank You

Contenu connexe

Tendances

Structure query language (sql)
Structure query language (sql)Structure query language (sql)
Structure query language (sql)
Nalina Kumari
 

Tendances (19)

Ankit
AnkitAnkit
Ankit
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)ppt
 
Introduction to SQL (for Chicago Booth MBA technology club)
Introduction to SQL (for Chicago Booth MBA technology club)Introduction to SQL (for Chicago Booth MBA technology club)
Introduction to SQL (for Chicago Booth MBA technology club)
 
Structure query language (sql)
Structure query language (sql)Structure query language (sql)
Structure query language (sql)
 
Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
 
Chapter 4 Structured Query Language
Chapter 4 Structured Query LanguageChapter 4 Structured Query Language
Chapter 4 Structured Query Language
 
Chapter 07 ddl_sql
Chapter 07 ddl_sqlChapter 07 ddl_sql
Chapter 07 ddl_sql
 
Sql server T-sql basics ppt-3
Sql server T-sql basics  ppt-3Sql server T-sql basics  ppt-3
Sql server T-sql basics ppt-3
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | Edureka
 
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQLSql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Sql intro & ddl 1
Sql intro & ddl 1Sql intro & ddl 1
Sql intro & ddl 1
 
Sql
SqlSql
Sql
 
Intro to T-SQL - 1st session
Intro to T-SQL - 1st sessionIntro to T-SQL - 1st session
Intro to T-SQL - 1st session
 
Sql for biggner
Sql for biggnerSql for biggner
Sql for biggner
 
Intro to T-SQL – 2nd session
Intro to T-SQL – 2nd sessionIntro to T-SQL – 2nd session
Intro to T-SQL – 2nd session
 

Similaire à Sql Server 2000

SQL Server 2000 Research Series - Performance Tuning
SQL Server 2000 Research Series - Performance TuningSQL Server 2000 Research Series - Performance Tuning
SQL Server 2000 Research Series - Performance Tuning
Jerry Yang
 
MDI Training DB2 Course
MDI Training DB2 CourseMDI Training DB2 Course
MDI Training DB2 Course
Marcus Davage
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
Vinay Thota
 
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweqdbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
wrushabhsirsat
 
Data Analysis using Data Flux
Data Analysis using Data FluxData Analysis using Data Flux
Data Analysis using Data Flux
Sunil Pai
 
Database Foundation Training
Database Foundation TrainingDatabase Foundation Training
Database Foundation Training
Franky Lao
 

Similaire à Sql Server 2000 (20)

SQL Server 2000 Research Series - Performance Tuning
SQL Server 2000 Research Series - Performance TuningSQL Server 2000 Research Series - Performance Tuning
SQL Server 2000 Research Series - Performance Tuning
 
SQL for interview
SQL for interviewSQL for interview
SQL for interview
 
Preparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dPreparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001d
 
Sql 2006
Sql 2006Sql 2006
Sql 2006
 
lovely
lovelylovely
lovely
 
MDI Training DB2 Course
MDI Training DB2 CourseMDI Training DB2 Course
MDI Training DB2 Course
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
 
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweqdbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
dbms-unit-_part-1.pptxeqweqweqweqweqweqweqweq
 
Bank mangement system
Bank mangement systemBank mangement system
Bank mangement system
 
Module02
Module02Module02
Module02
 
Nunes database
Nunes databaseNunes database
Nunes database
 
SQL Query Interview Questions
SQL Query Interview QuestionsSQL Query Interview Questions
SQL Query Interview Questions
 
DBMS LAB FILE1 task 1 , task 2, task3 and many more.pdf
DBMS LAB FILE1 task 1 , task 2, task3 and many more.pdfDBMS LAB FILE1 task 1 , task 2, task3 and many more.pdf
DBMS LAB FILE1 task 1 , task 2, task3 and many more.pdf
 
Data Analysis using Data Flux
Data Analysis using Data FluxData Analysis using Data Flux
Data Analysis using Data Flux
 
PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slides
 
MIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome MeasuresMIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome Measures
 
Database Foundation Training
Database Foundation TrainingDatabase Foundation Training
Database Foundation Training
 
SQL
SQLSQL
SQL
 

Plus de Om Vikram Thapa

Plus de Om Vikram Thapa (20)

Next Set of Leaders Series
Next Set of Leaders SeriesNext Set of Leaders Series
Next Set of Leaders Series
 
Integration Testing at go-mmt
Integration Testing at go-mmtIntegration Testing at go-mmt
Integration Testing at go-mmt
 
Understanding payments
Understanding paymentsUnderstanding payments
Understanding payments
 
System Alerting & Monitoring
System Alerting & MonitoringSystem Alerting & Monitoring
System Alerting & Monitoring
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
Sumologic Community
Sumologic CommunitySumologic Community
Sumologic Community
 
Postman Integration Testing
Postman Integration TestingPostman Integration Testing
Postman Integration Testing
 
Scalibility
ScalibilityScalibility
Scalibility
 
5 Dysfunctions of a team
5 Dysfunctions of a team5 Dysfunctions of a team
5 Dysfunctions of a team
 
AWS Must Know
AWS Must KnowAWS Must Know
AWS Must Know
 
Continuous Feedback
Continuous FeedbackContinuous Feedback
Continuous Feedback
 
Sql views, stored procedure, functions
Sql views, stored procedure, functionsSql views, stored procedure, functions
Sql views, stored procedure, functions
 
Confluence + jira together
Confluence + jira togetherConfluence + jira together
Confluence + jira together
 
Understanding WhatFix
Understanding WhatFixUnderstanding WhatFix
Understanding WhatFix
 
Tech Recruitment Process
Tech Recruitment Process Tech Recruitment Process
Tech Recruitment Process
 
Jira Workshop
Jira WorkshopJira Workshop
Jira Workshop
 
Security@ecommerce
Security@ecommerceSecurity@ecommerce
Security@ecommerce
 
Understanding iis part2
Understanding iis part2Understanding iis part2
Understanding iis part2
 
Understanding iis part1
Understanding iis part1Understanding iis part1
Understanding iis part1
 
.Net framework
.Net framework.Net framework
.Net framework
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
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
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 

Sql Server 2000

  • 1. SQL Server 2000 Copyright © 2002-2007. Mcube Investment Software Pvt Ltd, Bangalore India Souvik Bhowmik
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Relational Design Basics contd…. Entity – Relationship Model ER model is a conceptual data model that views the real world as entities and relationships. Entities - Entities are the principal data object about which information is to be collected. e.g . Employee, Department etc. Attributes - Attributes describe the entity of which they are associated. A particular instance of an attribute is a value . e.g . Employee can have attributes like Employee Name, Employee Number etc. Relationships – Relationship represents an association between two or more entities.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Database Objects Tables Constraints Indexes Rules Views Defaults Data Types Stored Procedures Triggers User Defined Functions Database Objects
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32. JOIN Keyword - FULL Outer Join SELECT * FROM Employees AS E FULL OUTER JOIN Departments AS D ON E.deptno = D.deptno NULL 30 20 10 JobID Engineering 300 NULL NULL NULL NULL NULL 1500 Jeffrey 3 Deptname Deptno Salary Empname Empid Management 200 2000 Bob 2 Production 100 1000 Leo 1
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.