Ok, so let me get this straight here, you wish to select the largest value from a specified column, is that what you're after? If so then it's a simple select/limit task, and you don't need MAX either...
Say we have the following table:
| Index | Value |
| 1 | 1 |
| 2 | 90 |
| 3 | 10 |
| 4 | 80 |
| 5 | 2 |
Then we'd do a select something like so:
"select Value from tablename order by value desc limit 0,1"
Or your might be able to use:
"select MAX(Value) from tablename"
This would get the largest value from the column "Value"
As for a tutorial on MAX and GROUP BY, sure I got a simple on fer ya...
Basicly all MAX does is returns the largest value from a column, by default it returns only one value. Now if you use GROUP BY then you can have it return one value per different value in the column specified.
For example:
| Age | Value |
| 3 | 1 |
| 10 | 90 |
| 4 | 10 |
| 3 | 80 |
| 10 | 2 |
Run this query on the previous table:
"SELECT MAX(Value) from tablename"
you would get the result: 90;
Now run the query with GROUP BY:
"SELECT MAX(Value) from tablename GROUP BY Age"
And you would get three results, one for each different age: 80, 90, 10
Of course in real life you'd want to also have it return the age values as well just to keep things together, as well you'll probably want the ages to appear in cronological order from youngest to oldest (or vice versa) so you'd toss on ORDER BY, so lets add to it just a bit:
"SELECT Age, MAX(Value) from tablename GROUP BY Age ORDER BY Age DESC"
I've tested all these queries on my copy of MySQL (Ver 3.23.26) directly so they do work, FYI.
Hope this answered any questions you had on the subject, oh and don't feel too bad the manual confuzzles me for the most part too. I actualy just picked up a copy of "MySQL & mSQL" from O'Reilly for easy reference purposes just so I can easliy solve problems like this.