hCentive interview question

SQL and Unix based questions