Hello everyone, I have the following program:
SELECT "resource"."name" "EMPLEAT",
"attendance"."name" "DATA",
"attendance"."action" "ACCIO",
"hr_action_reason"."name" "MOTIU",
"hr_timesheet_sheet_sheet"."date_to" "FULL"
FROM "public"."hr_attendance" "attendance"
INNER JOIN "public"."hr_employee" "employee" ON "attendance"."employee_id" = "employee"."id"
INNER JOIN "public"."resource_resource" "resource" ON "employee"."resource_id" = "resource"."id"
LEFT JOIN "public"."hr_action_reason" "hr_action_reason" ON "attendance"."action_desc" = "hr_action_reason"."id"
LEFT JOIN "public"."hr_timesheet_sheet_sheet" "hr_timesheet_sheet_sheet" ON "attendance"."sheet_id" = "hr_timesheet_sheet_sheet"."id"
I need the column: "hr_timesheet_sheet_sheet". "date_to" "FULL"
Apart from the date_to show me the date_from .. but how can I do it to show it to me in the same place? That is, I should show two dates .. I get one but not the 2 ..
Thanks!