c9: (Towel)
c9 ([personal profile] c9) wrote2006-07-12 09:32 am
Entry tags:

SQL Really Satisfies

I am so awesome. Not really. But I figured out how to do this all by myself:

select i.lastname,i.firstname,count(ic.instructorid) as 'Number of Courses' from instructor as i,instructorcourse as ic where i.type='Facilitator' and i.instructorid = ic.instructorid group by i.lastname,i.firstname

This is primarily for my future reference.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting