COUNT & AVG
| From: | Shaun | Date: | Fri, 05 Sep 2003 13:48:31 +0000 |
| Subject: | COUNT & AVG | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-30352@lists.php.net to get a copy of this message | ||
Hi,
Is it possible to combine the COUNT & AVG functions using MySQL? I have a
table called Bookings and I need to find out the average number of bookings.
So I need to count the number of bookings in the table and then get the
Average, is this possible?
Thanks for your help