CREATE TABLE table_204_400 (id NUMBER, "district" NUMBER, "senator" CLOB, "party" CLOB, "caucus" CLOB, "first elected" NUMBER, "counties represented" CLOB)

how long after farley was seward elected ?
SELECT ABS((SELECT "first elected" FROM table_204_400 WHERE "senator" = 'hugh farley') - (SELECT "first elected" FROM table_204_400 WHERE "senator" = 'james seward'))
SELECT ABS((SELECT "first elected" FROM "table_204_400" WHERE "senator" = 'hugh farley') - (SELECT "first elected" FROM "table_204_400" WHERE "senator" = 'james seward'))