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_1 (losses VARCHAR, golden_rivers VARCHAR, byes VARCHAR)
  ### Question:
  What is the total losses when Hay is the golden river and there are more than 2 byes?
  ### Answer:
  SELECT COUNT(losses) FROM table_name_1 WHERE golden_rivers = "hay" AND byes > 2