Based on the table structure you provided
Flights( fino: integer -- PK
, from: string
, to: string
, distance: integer
, departs: time
, arrives: time
, price: integer
)
Aircraft( aid: integer -- PK
, aname: string
, cruisingrange: integer
)
The following is going to be an invalid statement; as there is no column named
tod
in the
Flights
table; and thus the syntax error.
SELECT tod FROM Flights WHERE fino = 1