Tiger Analytics Interview Question

SQL display only duplicate rows.