Bring Me Fly

sql join 3 tables