Find the id of the appointment with the most recent start date?
select appointmentid from appointment order by start desc limit 1