Amazon Interview Question

SQL question: using where clause