Viasat interview question

How could you Debug a Table using SQL