I've been working on a new SQL query that lists ALL aircraft received yesterday, including those without a Flight ID. SQL listed below, and example report attached.
SELECT DISTINCT
Aircraft.Registration AS "Reg",
Flights.Callsign AS "Flight ID",
Flights.Route AS "Route",
Aircraft.AircraftTypeSmall AS "ICAO Type",
Aircraft.Airline AS "Airline",
Aircraft.AircraftTypeLong AS "Aircraft",
substr(Flights.EndTime,12,5) AS "Flight Ended",
Aircraft.ModeS AS "Mode S"
FROM
Aircraft
LEFT OUTER JOIN Flights ON (Aircraft.ModeS=Flights.ModeS)
WHERE
((date('now','-1 day') = substr(Aircraft.LastTime,1,4)||"-"||substr(Aircraft.LastTime,6,2)||"-"||substr(Aircraft.LastTime,9,2)) AND
(Flights.StartTime IS NULL)) OR
((date('now','-1 day') = substr(Flights.EndTime,1,4)||"-"||substr(Flights.EndTime,6,2)||"-"||substr(Flights.EndTime,9,2)))
ORDER BY
Reg,
Flights.EndTime,
Aircraft.ModeS