How to find greatest number in a database table?
Posted: Fri Oct 14, 2005 2:36 pm
I need to find the greatest number in my MySQL database table. What is the SQL statement will accomplish this?
Thanks!
Thanks!
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
SELECT MAX(columnname)
FROM tablename