Hi. This is what i need to do:
I have a notifications table, which contains a memberid and a notificationtypeid (email, standard mail, sms, etc), as well as its own notificationid and other notification-specific fields. I need to count how many notifications of each type were sent to each member, i.e. getting a result similar to this table here:
and so on.
what's the sql query to accomplish this? thank you.