Whenever I try using WHERE and ORDER BY in the same MySQL query (either in php or c#), it doesn’t work. I’ve always managed to find another way to do this, but I’m wondering why we can’t use both of them at once.. Thanks.
EDIT: Seems to work now, but I swear to god it never worked for me before, EVER! No matter of the order they’re placed in.. :s Thank you guys anyway! 🙂
You can use them both, you have to place them in the correct order.
I would suggest reading up on it.
WHERE
ORDER BY