M3 Interview Question

Write a simple SQL statement. Difference between regression and defect testing.