Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Help
Message
 
 
À
02/08/2007 04:40:30
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:
01245429
Vues:
26
>
>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;
>HAVING '01' $ LOWER(Clients.CompName) ;
>OR 'hr' $ LOWER(PrsnDetl.Forename) ;
>OR TotOrd = 300
>
Nice and simple. Do you think it's better than derived table? What is the difference in speed of execution?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform