Quest Global interview question

print the duplicate rows in a table