CREATE TABLE table_203_223 (id DECIMAL, "name" TEXT, "gauge" TEXT, "builder" TEXT, "type" TEXT, "date" DECIMAL, "works number" DECIMAL, "notes" TEXT)

what is the next name after no. 774 ?
SELECT "name" FROM table_203_223 WHERE id = (SELECT id FROM table_203_223 WHERE "name" = 'no.774') + 1
SELECT "name" FROM "table_203_223" WHERE "id" = (SELECT "id" FROM "table_203_223" WHERE "name" = 'no.774') + 1