I have Date in table 1, it contains the all the dates of an employee from the joining till today. In table 2, sheet_date has all the dates of an employee who has worked alone from the joining till today.
I need a table exactly as shown in below table by combining these two tables,
I have tried below codes but not worked,
Present:
LOAD EmployeeID,
Date(Date,'MM/DD/YYYY')as Date
FROM
(qvd);
left join
Timesheet:
LOAD EmployeeID,
Date(sheet_date,'MM/DD/YYYY') as Date,
1 as Flag
FROM
(qvd);
My output for this code is as shown below,
I have also attached my real data along with this. Please help.