Category: 07. SQL Join

  • Cross Join

    Now let us see take a deeper dive into the cross join in SQL with the help of examples. All the queries in the examples will be written using the MySQL database. Consider we have the following tables with the given data: Table 1: MatchScore Player Department_id Goals Franklin 1 2 Alan 1 3 Priyanka…

  • FULL JOIN

    The SQL full join is the result of combination of both left and right outer join and the join tables have all the records from both tables. It puts NULL on the place of matches not found. SQL full outer join and SQL join are same. generally it is known as SQL FULL JOIN. SQL…

  • RIGHT JOIN

    Now let us see take a deeper dive into the right join in SQL with the help of examples. All the queries in the examples will be written using the MySQL database. Consider we have the following tables with the given data: Table 1: employee EmployeeID Employee_Name Employee_Salary 1 Arun Tiwari 50000 2 Sachin Rathi…

  • Left Join

    Now let us see take a deeper dive into the left join in SQL with the help of examples. All the queries in the examples will be written using the MySQL database. Consider we have the following tables with the given data: Table 1: employee EmployeeID Employee_Name Employee_Salary 1 Arun Tiwari 50000 2 Sachin Rathi…

  • OUTER JOIN

    Now let us take a deeper dive into the different types of outer join in SQL with the help of examples. All the queries in the examples will be written using the MySQL database. Consider we have the following tables with the given data: Table 1: employee EmployeeID Employee_Name Employee_Salary 1 Arun Tiwari 50000 2…

  • JOIN

    As the name shows, JOIN means to combine something. In case of SQL, JOIN means “to combine two or more tables”. The SQL JOIN clause takes records from two or more tables in a database and combines it together. ANSI standard SQL defines five types of JOIN : In the process of joining, rows of both tables are…