überleet |
|
SELECT *
FROM ringtone
WHERE category =15
ORDER BY `ranking_be` ASC
SELECT *
FROM ringtone
WHERE category =12
ORDER BY `ranking_be` ASC
SELECT * FROM ringtone WHERE category =15 ORDER BY `ranking_be` ASC SELECT * FROM ringtone WHERE category =12 ORDER BY `ranking_be` ASC
ik heb de inhoud nodig van deze twee query's ( normaal meer),
nu wou ik dat in een keer schrijven, gaat dat ?
vb.
SELECT *
FROM ringtone
WHERE category = (15 OR 12 )
ORDER BY `ranking_be` ASC
SELECT * FROM ringtone WHERE category = (15 OR 12 ) ORDER BY `ranking_be` ASC
zoiets ?
|