mysql - SELECT an attribute from a table but need conditions met in other tables -


okay i'm new database excuse lack of knowledge please. ive looking answers online , dont quite understand need do. have find out plane flying specific flight given date, time, route. these attributes each entity

airplaneid

airplaneid -pk

planetype

dflights

flightnumber-pk

flightdate-pk

flightduration

flight

flightnumber-pk

airportid

it's not possible return specified result relations shown.

there no common values stored in (unfortunately named) airplaneid entity relation, , other 2 entity relations.

i'll put example of how done...

you'd need have airplaneid stored in relation, along flightnumber , flightdate in order associate 2 entities.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -