ING interview question

Some basic questions regarding sql