Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with this query?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00587152
Message ID:
00587214
Vues:
38
>Right.
>
>>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
>>>
>>>


Thank You, that worked and helped me out a lot.


Nick Patel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform