Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Help
Message
 
 
À
01/08/2007 10:40:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01245144
Message ID:
01245159
Vues:
40
Yes, I already corrected it in another message to you.

>Many thanks for your help. However to get all the records matching my criteria, I removed the table reference from where clause of forename.
>SELECT * FROM ( ;
>	SELECT Id, Forename, Compname, SUM(OrdTotal) TotOrd ;
>		FROM clients ;
>			LEFT JOIN Prsndetl ON Clients.Id = PrsnDetl.ClientId ;
>			LEFT JOIN Orders ON Clients.Id = Orders.ClientId ;
>		GROUP BY Clients.Id, Clients.Compname, PrsnDetl.Forename ) dt1;
>  WHERE '01' $ CompName ;
>  OR 'hr' $ LOWER(Forename) ;
>  OR TotOrd = 300
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform