Good day again to all SQL guru here :)
I have a problem querying my table using COUNT.
This is the data inside of the table (tblstudentoffense)
And this is the RESULT that I want (Let's say that there is a new column after the offenseType that will count the Stealing and Gaming Offense
Is this possible? If possible kindly add an explanation with your provided code. Thanks :)


offenseFNshould be displayed for a given combination ofstudentIDandoffenseType?