question: when was the first elected when the  candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%?
answer: SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%"
context: CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR)