INSERT * INTO #TEMPTable
SELECT T1.employee_id, T1.last_name, T1.first_name, T2.action_time, T2.action_date, T2.shift_start, T2.action_type
FROM T1 JOIN T2 ON T1.employee_id = T2.employee_ID
SELECT * from #TEMPTable
DROP TABLE #TEMPTable
ИЛИ Просто
SELECT T1.employee_id, T1.last_name, T1.first_name, T2.action_time, T2.action_date, T2.shift_start, T2.action_type
FROM T1 JOIN T2 ON T1.employee_id = T2.employee_ID
Затем экспортируйте результаты в файл .CSV.