91-9990449935 0120-4256464 |
SQL LEFT JOINThe SQL left join returns all the values from the left table and it also includes matching values from right table, if there are no matching join value it returns NULL. BASIC SYNTAX FOR LEFT JOIN: let us take two tables in this example to elaborate all the things: CUSTOMER TABLE:
This is second table ORDER TABLE:
join these two tables with LEFT JOIN: This will produce the following result:
Next TopicSQL Right Join
|