Hello i have this table:
In this table i want to check, if the combination of the columns: 'carrier' and 'flight' always give the same origin. How can i do that?
I tried this one:
select distinct(a.name)
from carriers c, flights f, airports a
where c.id = f.carrier and a.id = f.origin;
but i dont think it's giving me what i wanted to know. Really grateful for any advice.