SQL Really Satisfies
Jul. 12th, 2006 09:32 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I am so awesome. Not really. But I figured out how to do this all by myself:
This is primarily for my future reference.
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.
no subject
Date: 2006-07-12 01:51 pm (UTC)no subject
Date: 2006-07-12 02:17 pm (UTC)no subject
Date: 2006-07-12 02:18 pm (UTC)no subject
Date: 2006-07-12 03:17 pm (UTC)no subject
Date: 2006-07-12 05:01 pm (UTC)no subject
Date: 2006-07-12 05:06 pm (UTC)no subject
Date: 2006-07-12 05:39 pm (UTC)no subject
Date: 2006-07-12 05:40 pm (UTC)no subject
Date: 2006-07-12 07:01 pm (UTC)no subject
Date: 2006-07-12 07:03 pm (UTC)no subject
Date: 2006-07-15 06:23 pm (UTC)I'm exagerating but whatever. SQL RAWKS!