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_31 (wins INTEGER, teams VARCHAR, percent VARCHAR)
  ### Question:
  What is the average wins when teams is lions and the percent is more than 0?
  ### Answer:
  SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 0