Cognizant interview question

question based on project and some electrical questions and sql query