Basically if I had a mysql table with columns: id, type, content, version.
There will be multiple entries with the same type. Version is a number which increments with each new entry of a certain type.
I want to be able to get the most recent entry of each type for all types with one query.
Is this possible or do I need to do separate queries for each type?
Cheers