Verizon Interview Question

a sql query on distinct value from table