GIDustin
Emperor
I have a table in MySQL called Units:
TABLE Units
ID, Owner, Name, Website, ..., AnimRating, SndRating, ...
I want to SELECT from that table sorting by the OverallRating, which is the average of AnimRating and SndRating. Is there an easy way to do this? I guess it would be somehting like:
Except that doesnt work
Thanks for any help you can provide
- GIDustin
TABLE Units
ID, Owner, Name, Website, ..., AnimRating, SndRating, ...
I want to SELECT from that table sorting by the OverallRating, which is the average of AnimRating and SndRating. Is there an easy way to do this? I guess it would be somehting like:
Code:
SELECT * FROM units ORDER BY AVG(AnimRating, SndRating) DESC
Except that doesnt work

Thanks for any help you can provide
- GIDustin