Hello,
We are trying to make a report to retrieve information regarding street work sites, however we have been unable to add the 'updated' date from the street works site tab to the below SQL
SELECT
sw_notice_site.work_header_no,
organisation.organise_name,
sw_header.works_ref,
sw_notice_header.notice_issue_time,
sw_site_status.guarantee_reset,
sw_notice_header.works_location,
sw_notice_header.permit_status,
sw_site.interim_date,
sw_site.guarantee_date
FROM
organisation,
sw_header,
sw_notice_header,
sw_notice_site,
sw_site,
sw_site_status,
sw_works_status
WHERE
organisation.organise_code = sw_header.organise_code AND
sw_header.work_header_no = sw_notice_header.work_header_no AND
sw_site_status.site_status_code = sw_works_status.site_status_code AND
sw_works_status.works_status_code = sw_notice_header.works_status_code AND
sw_notice_header.work_header_no = sw_notice_site.work_header_no AND
sw_notice_header.work_version_no = sw_notice_site.work_version_no AND
sw_notice_header.work_header_no = sw_site.work_header_no AND
sw_site.site_number = sw_notice_site.site_number
Can anybody advise?
Thank you
------------------------------
Richard White
Hull City County Council
HULL
------------------------------