Pergunta de entrevista da empresa Amazon

Name and explain all forms of join in SQL

Respostas da entrevista

Sigiloso

11 de jul. de 2021

Inner Join, Outer Join, Left Inner Join, Right Inner Join Inner Join - Returns a table with common columns from both the tables with all records/rows. Left Inner Join - Returns a table with common columns from both the tables and all the columns from the left table with every row/record. Right Inner Join - Returns a table with common columns from both the tables and all the columns from the right table with every row/record. Outer join - Joins the two tables returning all the columns and rows of both the tables.

Sigiloso

25 de mai. de 2022

There is one more: CROSS JOIN - all combinations of records between two tables.