user: Question: Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
Columns: ['Year', 'Title', 'Role', 'Studio', 'Director']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1942.0, 'Winning Your Wings', 'Blonde at Dance', 'Indie', 'John Huston']
SQL:

assistant: SELECT "Director" FROM "Table" WHERE "Studio" = 'WB' AND "Year" < 1945.0 AND "Title" = 'To Have and Have Not';