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 table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR)
  ### Question:
  Which Gold has a Bronze of 1, and a Total smaller than 3?
  ### Answer:
  SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3