SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1
Find the id of the appointment with the most recent start date?
SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1
select appointmentid from appointment order by start desc limit value
Find the id of the appointment with the most recent start date ?