
So, this is not a big tip, but worth at least 10 minutes to figure it out on your own. Here is to saving you 10 minutes: SELECT LEFT (userlastname, 1) as alpha, count(id)FROM attendeesWHERE id IN ( SELECT attendeesid FROM AttendeesCodeCampYear WHERE codecampyearid = 6 )GROUP BY LEFT (userlastname, 1)OORDER BY LEFT (userlastname, 1) It’s pretty self explanatory. Our case is we have two tables that we track code camp attendees. One is the master list, and the other is a detail by year. (6 is this year) … Continue Reading