Interview Guides
You are given subscription records for customer accounts. Write a PostgreSQL query that identifies every pair of subscriptions for the same account whose active date ranges overlap, including cases where one subscription starts on the same day another ends. Return the account, both subscription IDs, and the overlapping date range.