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;

mysql关于排序值的问题,指定排序值

select * from testsort order by sort desc ,status desc; sort字段为第一排序选择,status为第二排序选择

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2021-12-09
  • 2021-05-27
  • 2022-01-11
  • 2021-09-27
  • 2021-11-15
猜你喜欢
  • 2022-01-17
  • 2022-02-19
  • 2022-12-23
  • 2022-01-15
  • 2021-10-24
  • 2021-12-07
相关资源
相似解决方案