Pratt & Whitney interview question

Asked to code python and SQL problems