What are names of patients who made an appointment?
SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn
names of patients who made an appointment requires joining the appointment table with the patient table on a common key; the common key is the patient's SSN (social security number)."