Microsoft Interview Question

How do you make sure that two results from a database query request are identical?