SQL:

  SELECT * FROM table1 ORDER BY CASE WHEN field=value THEN 1 ELSE 0 END (ASC/DESC)

 

  是不是很方便呢,哈哈

相关文章: