Name the Qual 2 which has the name of katherine legge
CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR)
SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR) Question: Name the Qual 2 which has the name of katherine legge [/INST] SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge" </s>