Question d’entretien chez Mphasis

In the Technical interview, they asked to write a program and some sql queries