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_3 (rank INTEGER, bronze VARCHAR, total VARCHAR)
  ### Question:
  What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze?
  ### Answer:
  SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10