Does both the records satisfy the condition in the where clause of the query ?