What is the D 42 when the D 50 is d 31?
CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR)
SELECT d_42 FROM table_name_17 WHERE d_50 = "d 31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR) Question: What is the D 42 when the D 50 is d 31? [/INST] SELECT d_42 FROM table_name_17 WHERE d_50 = "d 31" </s>