text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
  ### Question:
  what are name and phone number of patients who had more than one appointment?
  ### Answer:
  SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1