BioCatch interview question

basic sql script to show duplicates from 2 tables