CREATE TABLE table_15985 ("Week" FLOAT, "Dance/song" CLOB, "Horwood" CLOB, "Goodman" CLOB, "Dixon" CLOB, "Tonioli" CLOB, "Total" CLOB, "Result" CLOB)

What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?
SELECT "Goodman" FROM table_15985 WHERE "Total" = '31' AND "Horwood" = '7' AND "Result" = 'Safe'
SELECT "Goodman" FROM "table_15985" WHERE "Horwood" = '7' AND "Result" = 'Safe' AND "Total" = '31'