🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.sqlinfo
Article #333

Re: THE GROUP BY CLAUSE

#333
From: Michael Milom
Date: Thu, 02 Sep 1999 00:00
29 lines
1535 bytes
The GROUP BY clause in an SQL statement is only REQUIRED
if aggregation (SUM, MIN, MAX, AVG, etc.) is being performed
on one or more fields in the SELECT statement.

I use SQL every day in my job (my job title is Query Master for an
Informix database), and there are many occasoins when I just need
raw data.  In those cases, I use a simple SELECT statement.

Perhaps I'm missing something in your post.  If there is something
specific you are trying to get SQL to do, perhaps we can be of
more assistance if we have more information.

Hope this helps,

Michael

socopa Informatique cherre wrote in message <7perqg$lk2$1@wanadoo.fr>...
>Hello all,
>   I looked for a sql newsgroup but i didn't find so...
>   Here is my question :
>
>            Is it possible (in any way) to use only SELECT commands instead
>of the GROUP BY command.
>            To my mind, it's not possible but i'd like to be confirmed.
>
>                    Thanx in advance.  Fabrice
>
>
>
Technical Details
Message-ID: <6%Fz3.1373$cq5.7132@news1.atl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7perqg$lk2$1@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11355a,6a7bb8086bc88f
X-Google-Attributes: gid11355a,public
From: "Michael Milom" <smilom@bellsouth.net>
Subject: Re: THE GROUP BY CLAUSE
Date: 1999/09/02
Message-ID: <6%Fz3.1373$cq5.7132@news1.atl>
X-Deja-AN: 520433976
References: <7perqg$lk2$1@wanadoo.fr>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Trace: news1.atl 936324162 209.214.112.39 (Thu, 02 Sep 1999 22:02:42 EDT)
NNTP-Posting-Date: Thu, 02 Sep 1999 22:02:42 EDT
Newsgroups: bit.listserv.sqlinfo