Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with SQL....
Message
From
07/12/1999 11:25:15
 
 
To
07/12/1999 11:07:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00299789
Message ID:
00299796
Views:
15
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
Map
View

Click here to load this message in the networking platform