I have the following table.
This is a very similar question to this, but I want to expand a bit more on what the original question is asking. I am fairly new to mySQL, so I've never really dealt with anything like this before.
I need to identify the records in which there are at least 3 consecutive semesters having:
units_enrolled = 0
I then need to assign an ID to the sequential groupings, but the ID must reset upon a new stdnt_id.
Lastly, I want to also indicate whether or not the student enrolls at some point after a pause.
Something like these results: Result set
Would this even be feasible in mySQL and on a large-scale basis?