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_22 (losses INTEGER, draws VARCHAR, against VARCHAR)
  ### Question:
  What is the greatest number of losses when there are more than 0 draws and 1390 against matches?
  ### Answer:
  SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390