LEFT JOIN using SQL
You can use a LEFT JOIN to get all the records from the left table, and the records from the right table where there is a match (if there is no match, you’ll get NULL under the selected fields from the right table): Copy SELECT tb1.*,tb2.*FROM left_table_name tb1LEFT JOIN right_table_name tb2 ON tb1.id = tb2.id … Read more