What is the First elected that has a republican party and california 4?
CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR) Question: What is the First elected that has a republican party and california 4? [/INST] SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4" </s>