Who were the candidates in the election where John Beatty was the incumbent? 
CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1434788_5 WHERE incumbent = "John Beatty"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR) Question: Who were the candidates in the election where John Beatty was the incumbent?  [/INST] SELECT candidates FROM table_1434788_5 WHERE incumbent = "John Beatty" </s>