What is the start date of each appointment?
select start from appointment
Sort the appointments by the starting date in descending order.
select * from appointment order by start desc
Which appointment has the most recent starting date? Give me the appointment id.
select appointmentid from appointment order by start desc limit 1