CREATE TABLE table_204_465 (id DECIMAL, "#" DECIMAL, "temple name" TEXT, "hangul" TEXT, "hanja" TEXT, "period of reign" TEXT, "personal name" TEXT, "relationship" TEXT, "note" TEXT)

who reigned longer , geunchogo or chaekgye ?
SELECT "temple name" FROM table_204_465 WHERE "temple name" IN ('geunchogo', 'chaekgye') ORDER BY "period of reign" - "period of reign" DESC LIMIT 1
SELECT "temple name" FROM "table_204_465" WHERE "temple name" IN ('geunchogo', 'chaekgye') ORDER BY "period of reign" - "period of reign" DESC NULLS LAST LIMIT 1