Ok, ont le code suivant:MySQL Ordering question - encore une question!
SELECT q21 as Comment, q21coding AS Description
FROM `tresults_acme`
WHERE q21 IS NOT NULL AND q21 <> ''
ORDER BY q21coding = 'Other', q21coding = 'Positive comments', Count ASC
Cela ramène le (extrait) suivant:
Text Description
Lack of up to date equal pay cases&legislation - t... Content needs updating
The intranet could contain more "up to date traini... Content needs updating
Poorly set out. It is hard to find things. Difficulty in navigating/finding content
Only use the intranet as a necessity. Will ask my ... Difficulty in navigating/finding content
Never really use it too difficult to be honest, s ... Difficulty in navigating/finding content
Ce que je dois faire est de ramener le texte dans un ordre spécifique essentiellement c'est là un COUNT pour la description est dans l'ordre croissant - sens?
Ainsi, dans l'exemple ci-dessus, le texte de « difficulté à naviguer/trouver conent » viendrait en premier car il a un compte de trois, puis « besoins de contenu mise à jour », car il a un compte de 2.
Tout conseil est le bienvenu!
Merci comme toujours,
Homer.
SPOT ON - MERCI BEAUCOUP !!!! –