Atlas Systems Interview Question

Simple SQL query