Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper syntax with ODBC with sub select
Message
From
07/03/2006 02:12:02
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01101514
Message ID:
01101959
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform