TVS Electronics interview question

About python sql about my project