Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with this query?
Message
De
28/11/2001 15:39:23
 
 
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:
00587171
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform