mysql关于排序值的问题,指定排序值
SELECT a.* FROM `catalog_eav_attribute` ea JOIN `eav_attribute` a ON ea.`attribute_id`=a.`attribute_id` WHERE a.`entity_type_id`=4 AND ea.`is_global`=1 AND frontend_input='select' ORDER BY FIELD(a.attribute_id,93,141,147) DESC;
select * from testsort order by sort desc ,status desc; sort字段为第一排序选择,status为第二排序选择