General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Tyler,
>select course.courseid, count(studentcourse.courseid) as stdcount, >instructor.instructorid;
>from course left join studentcourse on course.courseid = >studentcourse.courseid;
>left join instructor on studentcourse.instructorid = instructor.instructorid;
>into cursor tempcourse group by course.coursei
try adding instructor.instructorid to your group by clause.
Cheers
Steve Lea
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only