The document explains various types of SQL joins used to retrieve data from multiple tables, including Inner Join, Left Join, Right Join, Cross Join, Non-equi Join, and Self Join. It also discusses the concept of PivotTables for summarizing large data sets and the use of slicers in Excel for filtering PivotTables. Each join type has specific characteristics regarding how records are matched and returned from the tables involved.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views9 pages
JOINS
The document explains various types of SQL joins used to retrieve data from multiple tables, including Inner Join, Left Join, Right Join, Cross Join, Non-equi Join, and Self Join. It also discusses the concept of PivotTables for summarizing large data sets and the use of slicers in Excel for filtering PivotTables. Each join type has specific characteristics regarding how records are matched and returned from the tables involved.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9
JOINS
JOINS
• Join clause is used to retrieve data from multiple tables.
• Different type of Joins: • Inner Join • Left Join • Right Join • Cross Join • Non equi join • Self join INNER JOIN/EQUI JOIN
• Returns records that have
matching values in both tables. • One column must be common in both the t • To join 2 tables we will have one Join condition • To join N tables we must use N-1 join conditions NON EQUI JOINS
EMPID ENAME DESG SALARY • No columns are common
• NON EQUI JOIN performs a JOIN using comparison operator other than equal(=) sign like >, <, >=, <= with conditions.
HISAL LOSAL GRADE
LEFT JOIN
• Returns all records from the left
table, and the matched records from the right table RIGHT JOIN
• Returns all records from the right
table, and the matched records from the left table CROSS JOIN
• Returns all records from both
tables PIVOT TABLE
• A PivotTable is an interactive way to quickly summarize large
amounts of data. • A pivot table allows you to extract the significance from a large, detailed data set. SLICERS
• We can use slicers in Excel to quickly and easily filter pivot
tables. • We can connect multiple slicers to multiple pivot tables to create awesome reports.