RE: MySQL SELECT and COUNT or SUM

[EMAIL PROTECTED] wrote:

> Your message cannot be posted because it appears to be either spam or
> simply off topic to our filter. To bypass the filter you must include
> one of the following words in your message:
>
> sql,query,queries,smallint
>
> If you just reply to this message, and include the entire text of it in the
> reply, your reply will go through. However, you should
> first review the text of the message to make sure it has something to do
> with MySQL. Just typing the word MySQL once will be sufficient, for example.
>
> You have written the following:
>
> Hi, all!
>
> I think this SELECT command does almost what I need.
>
> SELECT CW03survey.Q6, CW03survey.Q7, CW03survey.Q8
>
> FROM CW03survey
>
> WHERE CW03survey.Q3 = '1'
>
> =============================================
>
> But how can I get it to also run a count of the total of each column?
> Q6, Q7...?
>
> Thanks,
>
> Gloria McMillan


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to