IBM Interview Question

An SQL and Coding question