कोशिश करें:
$getquery = "(SELECT *
FROM highscore
WHERE score >= '$score'
ORDER BY score ASC
LIMIT 6)
UNION ALL -- guaranteed to be beneficial in this case as Johan commented
(SELECT *
FROM highscore
WHERE score < '$score'
ORDER BY score DESC
LIMIT 5)";
देखें संबंधित प्रश्न पर मेरे उत्तर पर टिप्पणियाँ
.
या ठीक मैनुअल से परामर्श करें
।