Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with this query?
Message
From
28/11/2001 15:39:23
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00587152
Message ID:
00587171
Views:
24
I also think it needs to be grouped:

>Try
SELECT Person.lname, Person.totassignhrs, SUM(Pinfo.totcomphrs),;
>  Person.failcmpldate;
> FROM  workprog!person INNER JOIN workprog!pinfo ;
>   ON  Person.personid = Pinfo.personid;
> WHERE NOT (Person.compstatus == "COMPLETE");
   <b>GROUP BY Person.personID ;</b>
>  <b>HAVING</b> SUM(Pinfo.totcomphrs) = Person.totassignhrs
>
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform