What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?
CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR)
SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) Question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? [/INST] SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier" </s>