MySQL query for records that existed at any point each week
I have a table with created_at and deleted_at timestamps. I need to know, for each week, how many records existed at any point that week: week records 2022-01 4 2022-02 5 ... ... Essentially, records that were created before the…