Infogain Interview Question

SQL query, programming knowledge, and test the basic data structure