SELECT e FROM XmlQueryEmployee e WHERE e.salary > :min ORDER BY e.salary DESC SELECT e FROM XmlQueryEmployee e WHERE e.salary > :min