- 博客(1)
- 收藏
- 关注
原创 一个字段中,某一个值在最靠前,其余值在后
将表department中字段名为cdepcode的值‘abc’靠前,其余值在后 即: select * from department where cdepcode=’abc’ union all select * from department where cdepcode<>’abc’ 但如果加上order by 后会打乱顺序,此操作失效。...
2018-09-15 11:37:20
343
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人