I asked ChatGPT: "How do I write SQL code to calculate the monthly retention for user cohorts?" My mind is blown One of the big parts of learning SQL is to think in tables. This answer just nails that.