I'm a bit stuck with what I'm sure is a simple problem. I am using group by to pull a series of records from a table but because ORDER BY needs to have all the fields listed I want to use the result of the query below to then pull the full rows out of the database in the same order. Any Ideas?SELECT ParentType, ListType, UniqueIDFROM ListTypesWHERE (ListType = 24)GROUP BY ListType, ParentType, UniqueIDORDER BY ListType, ParentType
24 24 25 24 24 28 25 24 26 25 24 27 28 24 29 28 24 30