Page is a not externally linkable
syber - 3:26 pm on Sep 5, 2010 (gmt 0)
Unless I'm missing something, wouldn't this be:
SELECT inventory_code, <aggregate functions>
FROM table
GROUP BY inventory_code
ORDER BY variation_number DESC, title