RE: [PHP-DB] Re: Percentage...

From: Date: Mon, 29 Jul 2002 15:43:27 +0000
Subject: RE: [PHP-DB] Re: Percentage...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20855@lists.php.net to get a copy of this message
Hi JJ. I know we all should do what you did, but I've seen this kind of mails quite a lot lately in these lists. I'm sure that many of you, like me, keep these mails for further reading and reference... it would be nice if you also state what was the answer to your original question. I mean, if you came up with a question that some of us might have in the future, it would be nice to have the answer off-line (in our mail soft) instead of going on-line for search... Shear it with others! Thanks, C. > -----Original Message----- > From: JJ Harrison [mailto:webmaster@tececo.com] > Sent: Monday, July 29, 2002 7:03 AM > To: php-db@lists.php.net > Subject: [PHP-DB] Re: Percentage... > > Plz ignore this. found it after more searching... > > > -- > JJ Harrison > webmaster@tececo.com > www.tececo.com > > "Jj Harrison" <webmaster@tececo.com> wrote in message > news:20020729092720.92473.qmail@pb1.pair.com... > > How, using the group by and where statments can I return the percentage > of > > something? > > > > ie: > > > > pid | oid | uid | > > 1 |2 |1 > > 1 |2 |1 > > 1 |2 |1 > > 1 |1 |1 > > > > would return > > oid | percent > > 2 | 75 > > 1 | 25 > > > > Thx, > > > > > > -- > > JJ Harrison > > webmaster@tececo.com > > www.tececo.com > > > > > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#20855) next »