greatest value in mySQL collum 
Author Message
 greatest value in mySQL collum

how would i query in php to get the greatest value inside a mySQL collumn?


Sun, 22 May 2005 08:12:37 GMT  
 greatest value in mySQL collum

Quote:

> how would i query in php to get the greatest value inside a mySQL collumn?

You shoud propably leave this up to the db:
http://www.mysql.com/documentation/mysql/bychapter/manual_Tutorial.ht...

--

  Daniel Tryba



Sun, 22 May 2005 16:44:59 GMT  
 greatest value in mySQL collum
thanks

Quote:

> > how would i query in php to get the greatest value inside a mySQL
collumn?

> You shoud propably leave this up to the db:

http://www.mysql.com/documentation/mysql/bychapter/manual_Tutorial.ht...
ple-Maximum-column
Quote:

> --

>   Daniel Tryba



Mon, 23 May 2005 07:59:17 GMT  
 greatest value in mySQL collum
SELECT MAX(COLUMN_NAME) from TABLE_NAME
Thats only the SQL sentence. For the rest, RTFM. You will find lots of
examples.

Gulfo.

Mr.Bigglesworth escribi:

Quote:
> how would i query in php to get the greatest value inside a mySQL collumn?



Mon, 23 May 2005 18:29:33 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Two variables, values zeroes, one compares greater than the other

2. greatest common divider and high values

3. Looking for the greatest negative float value

4. handling values greater than 2^31 in expr

5. Problem with MySQL and float values

6. syntax for cookie value in MySQL statement

7. Great Forth book at great new price

8. Logo Competition - Great Fun _ Great Prizes

9. MySQL locally vs. MySQL on server

10. Senior Architect Needed Immediately - Great Pay - Great Benefits - Great Work !

11. Generating a value from a VALUE ERROR

12. Comparing value in an input field to any value from another file

 

 
Powered by phpBB® Forum Software