Infosys Interview Question

Some basic SQL queries