Can anyone give me some pointers to get this working??
I want to combine to queries into one listing with different sorting. The first will be any business that are a spotlight sorted randomly, then all other listings sorted alphabetically.
This is what I'm using, but the sorting doesn't work.
(SELECT * FROM business_listings WHERE city='Toronto' AND spotlight='1' ORDER by rand())
UNION
(SELECT * FROM business_listings WHERE city='Toronto' AND spotlight='0' ORDER BY busname)