I have data like this. Following is the sample data.
I want to get all those CustomerIDs which has date diff of 2 hours in DateCreated of Enquiry.
For example CustomerId 10602 has 3 enquiries . If the time difference is 2 hours in any of these three enquiries then this CustomerId should be in my result set. Same for the other Customers.
Thanks