GQ 790 then U2 7899 at Schiphol
Athens → Amsterdam → Valencia
Timetable, Amsterdam time
13:10GQ 790 from Athens at the gate
07:00U2 7899 to Valencia leaves the gate
17 h 50 apart on the timetable, overnight
U2 7899 leaves 17 h 50 after GQ 790 arrives on the timetable: more than half a day, so not a connection we count.