Postgresql – Getting previous month's existing student count if there are no new adds this month
I have a table with student data which includes their start and withdrawal dates. Not all students have withdrawal dates as they are still enrolled. I am trying to calculate the number of new students per month, withdrawals per month,…