Verizon interview question

a sql query on distinct value from table