vlookup怎么用sql语句来写?
答案:3 悬赏:0 手机版
解决时间 2021-03-29 22:20
- 提问者网友:我是女神我骄傲
- 2021-03-28 22:54
vlookup怎么用sql语句来写?
最佳答案
- 五星知识达人网友:一把行者刀
- 2021-03-28 23:52
用case when 来实现,这个是sql标准,基本上关系数据库都支持 select case when a=b then c else null end from tabname
全部回答
- 1楼网友:不甚了了
- 2021-03-29 02:46
select case when A=B then C else A end from table
- 2楼网友:上分大魔王
- 2021-03-29 01:20
select a,b ,c=case when a=b then '1' else null end from table
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯