Customer with multiple loans : I want to know the SQL query for identification of customers who have taken the multiple loan & next availed loan is within 60 days from the purchase of first loan. 

Data - Customerid, Loan Opening Date , Loan Closing Date, Rank 

Please help.