sql server - SQL Counting A Column With Another Column -


my directions are: "print ordered list of instructors , number of a's assigned students. order output number of a's (lowest highest) , ignore instructors no a's assigned"

this have (http://pastebin.com/pkwc6csk):

use student_course59 select instructor section right outer join grade_report on section.section_id = grade_report.section_id grade not null , instructor not null 

here tables:

i cant figure out how count how many a's specific instructor has assigned. much!!

i think should use query find specific instructor has assigned.

select instructor section  right outer join grade_report  on section.section_id = grade_report.section_id  grade_report.grade not null ,  section.instructor not null 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -