Re: MySql / sql help plz!
| From: | Brian S. Dunworth | Date: | Mon, 23 Apr 2001 14:01:11 +0000 |
| Subject: | Re: MySql / sql help plz! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49851@lists.php.net to get a copy of this message | ||
At 02:33 PM 4/23/01 -0700, elias wrote:
how can i get an SQL statment that when run, i get a query result like that: Id: Value count: --- --------------SELECT ID,COUNT(*) FROM table_name GROUP BY ID;a 4 values b 4 values c 2 values
i feel that it's easy...but i'm not really good at SQL...and you probably won't get better at it here. Try an SQL list or any number of online tutorials or books on SQL. - Brian ------------------------------------- Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 <brian@theprintinghouse.com> -------------------------------------