Infosys Interview Question

Some basic sql queries