Left join

When you want to extract all the records from the left table and matching records from the right table, then you use the Left Join keyword to join those two tables. The following diagram shows the Venn diagram for left join:

Let's see the script for left join:

  1. In the previous application created, delete the Outer Join tab.
  2. Create a new tab and rename it as Left Join, as shown in following screenshot. Write the script shown in the following screenshot:

  1. Once you the script is written, click on Load Data to run the script and load the data.
  2. Once the script is finished, create a new sheet and add the Table object to see the joined table data, as shown in the following screenshot:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset