Instruct: Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
Output: SELECT Director FROM table WHERE Studio = wb AND Year < 1945 AND Title = to have and have not