Quantcast
Channel: SQL Server Compact Forum
Viewing all articles
Browse latest Browse all 193

Query to group items and count them??

$
0
0

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.



Viewing all articles
Browse latest Browse all 193

Trending Articles