会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Nice感觉
海绵不断的吸收
博客园
首页
新随笔
联系
订阅
管理
2007年12月24日
SQL利用Case When Then多条件判断
摘要: Select top 100 State,JoinState, (case when State=1 and Joinstate=0 then 2 when State=1 and JoinState=1 then 1 else 0 end) as usestate from UserInfo
阅读全文
posted @ 2007-12-24 10:52 Gary.han
阅读(13632)
评论(0)
推荐(0)
编辑