Missing Local ID
Field report
SELECT fieldreport.fieldreport_localid, fieldreport.dateofreport AS `Date of Information`, fieldreport.reportreceiveddate AS `Data Entry Date`, fieldreport.reportcompleteddate AS `Submitted Date`, fieldreport.reportverifieddate AS `Approved Date`, fieldreport.dataenterer AS `Data enterer`, fieldreport.verifiedby AS `Approved by` FROM fieldreport WHERE fieldreport.fieldreport_localid is null
Accident
SELECT accident.accident_localid, accidentinfoversion.accident_localid FROM accident Inner Join accidentinfoversion ON accident.accident_guid = accidentinfoversion.accident_guid WHERE (accident.accident_localid IS NULL OR accidentinfoversion.accident_localid IS NULL) AND accidentinfoversion.link_only = '0'
Hazard
SELECT hazardinfoversion.hazard_localid, hazard.hazard_localid, hazardinfoversion.dataentrydate, hazardinfoversion.dataenterer FROM hazardinfoversion Inner Join hazard ON hazardinfoversion.hazard_guid = hazard.hazard_guid WHERE hazardinfoversion.link_only = '0' AND (hazardinfoversion.hazard_localid IS NULL or hazard.hazard_localid IS NULL )