CREATE TABLE table_18327 ("District" TEXT, "Incumbent" TEXT, "Party" TEXT, "First elected" FLOAT, "Result" TEXT, "Candidates" TEXT)

What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?
SELECT "District" FROM table_18327 WHERE "Party" = 'Democratic' AND "First elected" = '1974' AND "Incumbent" = 'Stephen J. Solarz'
SELECT "District" FROM "table_18327" WHERE "First elected" = '1974' AND "Incumbent" = 'Stephen J. Solarz' AND "Party" = 'Democratic'