Introduction to SQL Server JOINS © Meganadha Reddy K., 2015 Meganadha Reddy K. Technical Trainer |...
-
Upload
ezra-mosley -
Category
Documents
-
view
215 -
download
0
Transcript of Introduction to SQL Server JOINS © Meganadha Reddy K., 2015 Meganadha Reddy K. Technical Trainer |...
Introduction to
SQL Server JOINS
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Meganadha Reddy K.
Technical Trainer | NetCom Learning
www.NetComLearning.com
Agenda
• Why not single table for all data?
• Why Joins?
• Types of Joins• Simple Join / Inner Join
• Outer Join
• Left Outer Join
• Right Outer Join
• Full Join
• Cross Join
• Q & A© Meganadha Reddy K., 2015
http://www.netcomlearning.com/
This is L100 Webinar on SQL Server Joins
Can Single Table do? (Page 1 of 3)
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Data Redundancy
Memory Wastage
Can Single Table do? (Page 2 of 3)
Students
StudentID StudentName StudentCourse
1 Nick Patil HTML
2 Mark Williams SQL Server
3 Doug Thomson ASP.NET
3 Mark Williams ASP.NET
1 Nick Patil ASP.NET
Data Redundancy© Meganadha Reddy K., 2015
http://www.netcomlearning.com/
Can Single Table do? (Page 3 of 3)
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Normalization
Students [Initial Table]
Students Courses Enrolments
JOINS
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
To retrieve data from more than one table
Inner Join Right Outer Join Left Outer Join Full Join Cross Join
JOINS [In detail]
• Hands on Practise.
• Code in pdf file embedded.
Joins
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Double click to open PDF
JOINS
Advantages and dis-advantages
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Q & A
?
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/
Microsoft Official SQL Server 2014 Courses
• MCSA: SQL Server• 20461: Querying Microsoft SQL Server 2014
• 20462: Administering Microsoft SQL Server 2014 Databases
• 20463: Implementing a Data Warehouse with Microsoft SQL Server 2014
• MCSE: SQL Server Business Intelligence
• MCSE: SQL Server Business Intelligence
© Meganadha Reddy K., 2015 http://www.netcomlearning.com/