Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Who was the director for To Have and Have Not, earlier than 1945 with WB studio?

### Inputs:
table_name: table, columns: ['Year', 'Title', 'Role', 'Studio', 'Director']

### Response:
SELECT Director FROM table WHERE Studio = wb AND Year < 1945 AND Title = to have and have not