user: ### NOW ANSWER:
Question: Who was the leading actress in a film with Warren Beatty as the leading actor and also at the 40th Oscars?
Columns: ['Year', 'Oscars', 'Noms', 'Wins', 'Film', 'Leading Actor', 'Leading Actress', 'Supporting Actor', 'Supporting Actress']
Types: ['real', 'text', 'real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1936.0, '9th', 6.0, 0.0, 'My Man Godfrey', 'William Powell', 'Carole Lombard', 'Mischa Auer', 'Alice Brady']
SQL:

assistant: SELECT "Leading Actress" FROM "Table" WHERE "Leading Actor" = 'Warren Beatty' AND "Oscars" = '40th';