Amazon Interview Question

SQL Return duplicate from table