CREATE TABLE table_203_377 (id DECIMAL, "rank" DECIMAL, "nation" TEXT, "gold" DECIMAL, "silver" DECIMAL, "bronze" DECIMAL, "total" DECIMAL)

the team before algeria
SELECT "nation" FROM table_203_377 WHERE id = (SELECT id FROM table_203_377 WHERE "nation" = 'algeria') - 1
SELECT "nation" FROM "table_203_377" WHERE "id" = (SELECT "id" FROM "table_203_377" WHERE "nation" = 'algeria') - 1