CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR)

Name the Qual 2 which has the name of katherine legge
SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge"
SELECT "qual_2" FROM "table_name_40" WHERE "katherine legge" = "name"