Category: Joins

  • Cross Join

    The SQLite Cross join is used to match every rows of the first table with every rows of the second table. If the first table contains x columns and second table contains y columns then the resultant Cross join table will contain the x*y columns. Syntax: Image Representation: We have two tables “STUDENT” and “DEPARTMENT”.…

  • Outer Join

    In SQL standard, there are three types of outer joins: But, SQLite supports only Left Outer Join. SQlite Left Outer Join The SQLite left outer join is used to fetch all rows from the left hand table specified in the ON condition and only those rows from the right table where the join condition is…

  • Inner Join

    The SQLite Inner join is the most common type of join. It is used to combine all rows from multiple tables where the join condition is satisfied. The SQlite Inner join is the default type of join. Syntax: or or Image representation: We have two tables “STUDENT” and “DEPARTMENT”. The “STUDENT” table is having the…

  • Joins

    In SQLite, JOIN clause is used to combine records from two or more tables in a database. It unites fields from two tables by using the common values of the both table. There are mainly three types of Joins in SQLite: Example: We have two tables “STUDENT” and “DEPARTMENT”. The “STUDENT” table is having the…