You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from parking_officer_downtime where import_date = (select max(import_date) from parking_officer_downtime) and timestamp not like '' and timestamp not like '#REF!'
631
+
,t_start_date
632
+
,t_end_date
633
+
,t_team
634
+
,t_team_name
635
+
,t_role
636
+
,t_forename
637
+
,t_surname
638
+
,t_full_name
639
+
,t_qa_doc_created_by
640
+
,t_qa_doc_full_name
641
+
,t_post_title
642
+
,t_notes
643
+
,t_import_date
644
+
645
+
from parking_officer_downtime
646
+
left join team on upper(team.t_full_name) = upper(concat(TRIM(officer_s_first_name),' ',TRIM(officer_s_last_name))) --as Response_written_by --downtime officer full name
647
+
where import_date = (select max(import_date) from parking_officer_downtime) and timestamp not like '' and timestamp not like '#REF!'
644
648
AND cast(Substr( cast(parking_officer_downtime.timestamp as string) ,1,10) as date) > current_date - interval '13' month --Last 13 months from todays date
0 commit comments