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_15431959_1 (no_in_season INTEGER, directed_by VARCHAR)
  ### Question:
  How many seasons did Peter Deluise direct Stargate SG-1?
  ### Answer:
  SELECT MAX(no_in_season) FROM table_15431959_1 WHERE directed_by = "Peter DeLuise"