请教:按in语句排序,能实现吗?
请教:dbaccess -e dbyx3<<!unload to s.unl
selectusername,usercode from tbuser
where
validstatus="1" and
username in
(
"蔡玲玲",
"白薇",
"侯海英",
"陈春辉")
!
卸载下来的s.unl想按照 in语句里的顺序排序,能实现吗? unload to s.unl
selectusername,usercode from tbuser
where
validstatus="1" and
username in
(
"蔡玲玲",
"白薇",
"侯海英",
"陈春辉")
order decode ("蔡玲玲", 0, "白薇", 1,"侯海英", 2, 3) 怎么有语法错误啊,不好用,麻烦再看看。 已解决,谢谢哥们!!!
页:
[1]