I need to connect to tableA to tableB on employee_id, and the cal_date from table A should be between the start date and the end date from table B. I ran below the query and received the error message below. Could you help me fix and request, Thank you for your help!
Both left and right aliases found in JOIN 'date_start' .
select a.*, b.skill_group from tableA a left join tableB b on a.employee_id= b.employee_id and a.cal_date >= b.date_start and a.cal_date <= b.date_end
Mixer source share