-4
如何通过MySQL的排序几组
(`superVip` DESC, `editDate` DESC) then (`vip` DESC, `editDate` DESC) (other ads sort by ID)
像这样
SELECT *
FROM `ads`
ORDER BY (`superVip` DESC, `editDate` DESC), (`vip` DESC, `editDate` DESC), `id` DESC
请出示电流结果和预期结果 –