こんにちは、、、という名前のテーブルが 3 つありairports
ます。このテーブルから、次のようなフィールドを取得する必要があります。flights
checkin
flight.code,
flight.start_time,
flight.end_time,
flights.start_id,
flights.endid,
airports.name as sloc,
airports.name as eloc
条件は次のとおりです。
ckeckin.flight_id = flights.id,
airport.id = flights.startid, --for sloc
airports.id = flights.endid --for eloc