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_2 (total VARCHAR, gold VARCHAR, nation VARCHAR)
  ### Question:
  What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?
  ### Answer:
  SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)"