Affinio interview question

create a script to identify different data in sql db