Schneider Electric interview question

questions were focused on sql queries