Alright, I know this is a simple one, but my brain's isn't working today.
I want to select records from a database that have a certain group name, and have only the top 10 highest price * average volume to show up - there are two separate fields, [FONT=courier new]price[/FONT] and [FONT=courier new]avg_vol[/FONT], but I want to order by the product of them, a value that doesn't exist in the database itself. Can MySQL do this calculation on the fly?
This is what I was thinking:
[FONT=courier new]SELECT FROM current WHERE group_name = "Banks-Northeast " ORDER BY (price avg_vol) DESC limit 10[/FONT]
TIA - Again,
Justin