CREATE TABLE table_204_488 (id DECIMAL, "order in\ position" DECIMAL, "president of\ the republic" TEXT, "length of\ the presidential\ action" TEXT, "rank by\ length\ of term ( s ) " DECIMAL, "notes" TEXT)

who served more terms in office , mauno koivisto or martti ahtisaari ?
SELECT "president of\nthe republic" FROM table_204_488 WHERE "president of\nthe republic" IN ('mauno koivisto', 'martti ahtisaari') ORDER BY "rank by\nlength\nof term(s)" LIMIT 1
SELECT "president of\nthe republic" FROM "table_204_488" WHERE "president of\nthe republic" IN ('mauno koivisto', 'martti ahtisaari') ORDER BY "rank by\nlength\nof term(s)" NULLS FIRST LIMIT 1