QF 511 then QF 2064 at Sydney
Brisbane → Sydney → Ballina
Timetable, Sydney time
10:20QF 511 from Brisbane at the gate
09:20QF 2064 to Ballina leaves the gate
23 h apart on the timetable, overnight
QF 2064 leaves 23 h after QF 511 arrives on the timetable: more than half a day, so not a connection we count.