MySQL Forums
Forum List  »  PHP

Re: Really need some help
Posted by: Chis Florinel
Date: September 16, 2005 02:33AM

Try this:

SELECT
Col_1, Count(*) AS nr_lines, SUM(Col_3)
FROM tableName
GROUP BY Col_1

Options: ReplyQuote


Subject
Written By
Posted
September 15, 2005 02:15PM
Re: Really need some help
September 16, 2005 02:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.