user: Question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?
Columns: ['Title', 'Studio', 'Role', 'Leading lady', 'Director']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['The Lucky Texan', 'Mono', 'Jerry Mason', 'Barbara Sheldon', 'R.N. Bradbury']
SQL:

assistant: SELECT "Role" FROM "Table" WHERE "Leading lady" = 'Sheila Terry' AND "Title" = 'The Lawless Frontier';