Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group by clause is missing or invalid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Group by clause is missing or invalid
Divers
Thread ID:
01120983
Message ID:
01120983
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform