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
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week