CitiusTech interview question

Project flow. Python code. And sql query