CREATE TABLE "1940s" (
  "year" real,
  "title" text,
  "role" text,
  "leading_lady" text,
  "director" text
);

Question: Who directs before 1949 with linda darnell leading and jonathan kent?
SQL: SELECT "director" FROM "1940s" WHERE "year"<1949 AND "leading_lady"='linda darnell' AND "role"='jonathan kent';

Question: Who is the leading lady in a yank in the r.a.f.?
SQL: SELECT "leading_lady" FROM "1940s" WHERE "title"='a yank in the r.a.f.';

Question: What title has rouben mamoulian directing after 1940 with linda darnell as the leading lady?
SQL: SELECT "title" FROM "1940s" WHERE "director"='rouben mamoulian' AND "year">1940 AND "leading_lady"='linda darnell';

Question: Who directs before 1948 with linda darnell, titled blood and sand?
SQL: SELECT "director" FROM "1940s" WHERE "year"<1948 AND "leading_lady"='linda darnell' AND "title"='blood and sand';