What are names of patients who made an appointment?
select name from appointment as t1 join patient as t2 on t1.patient = t2.ssn