select passenger_id
, passenger_name
, contact_data
, b.*
from tickets t
join ticket_flights tf on t.ticket_no = tf.ticket_no
full outer join boarding_passes b on tf.ticket_no = b.ticket_no
where 1=1
-- and b.boarding_no is null
and tf.flight_id = 15175
order by passenger_name
;