Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group by clause is missing or invalid
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Group by clause is missing or invalid
Miscellaneous
Thread ID:
01120983
Message ID:
01120983
Views:
52
Hi all,

I'm having a group by clause error with the following sql syntax, which I can't solve w/o setting the enginebehavior to 70 :
lcSql = [select blogname,author,tblEntries.*, ALLTRIM(SUBSTR(basepath,AT("/",basepath)+1)) as gebruiker ] + ;
        "from blog_config " +;
         "left outer join (select pk,title,body,abstract,blogpk,MAX(entered) as entered from blog_entries group by blogpk)  tblEntries " +;
         "on blog_config.pk=tblEntries.blogpk " 
&lcSql
How can I change the sql so things works as expected? Thanks beforehand.
Zakaria al Azhar
My blog on Actuaris.net
Next
Reply
Map
View

Click here to load this message in the networking platform