List the names of patients who have made appointments.
SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn
names of patients who have made appointments refers to joining tables appointment and patient on a common key;