Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper syntax with ODBC with sub select
Message
De
07/03/2006 02:12:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01101514
Message ID:
01101959
Vues:
10
This one did it:
IF NOT goSQLExec.SQLExec('SELECT Country.Numero,COUNT(*) AS SchoolTotal,MAX(Country.'+gcReturnTitle+') AS Title FROM School '+;
 'INNER JOIN Country ON School.NoCountry=Country.Numero '+;
 'WHERE School.Status=2 GROUP BY 1 ORDER BY 2 DESC')
   RETURN goSQLExec.cError
ENDIF
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform