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 student (sex VARCHAR, age INTEGER)
  ### Question:
  Find the average and oldest age for students with different sex.
  ### Answer:
  SELECT AVG(age), MAX(age), sex FROM student GROUP BY sex