Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Query
Message
De
25/07/2000 01:07:22
 
 
À
24/07/2000 22:05:55
Information générale
Forum:
Oracle
Catégorie:
PL/SQL
Titre:
Divers
Thread ID:
00393781
Message ID:
00396464
Vues:
9
Hi Jaekarp,

>Sorry for delayed response, Matt.

No problem - thanks for replying.

>I looked up the book that covers Standard SQL and it says..
>
>" SELECT select_list
> FROM table_list
> [ where condition ]
> GROUP BY group_by_list
> In most SQL dialects, every item in the GROUP BY list must be a column name
>(not an expression) and must be equivalent to or a subset of select list items - you can make groups only out of things you select . "

That's reasonable. However, Oracle seems to also want every field in the select_list to appear in the group_by_list.

I solved my problem by pulling the data from Oracle into a VFP cursor, and then selecting from that cursor. VFP allowed me to group by whatever I wanted.

Best.

Matt.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform