J.P. Morgan Interview Question

How will you identify good data and bad data in table? Write a SQL query