Which Prohibition ticket has a Socialist Labor ticket of joseph smith?
CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR) Question: Which Prohibition ticket has a Socialist Labor ticket of joseph smith? [/INST] SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith" </s>