Difference between dates when grouping in SQL
I have a table of purchases containing a user_id and a date_of_purchase.
I need to be able to select all the users who have made 2 purchases within 12 months of each other. The dates can be any poin
问答
阅读(0)