0
|
墨残烛Lv5初级互助发布于2022-1-13 15:58(编辑于 2022-1-13 16:13)
|
数据集里类似这样写就好了 SELECT a, b, c FROM ( SELECT c AS a, b, c FROM test WHERE b = NULL UNION SELECT b AS a, b, c FROM test WHERE c = NULL UNION SELECT ( b + "_" + c ) AS a, b, c FROM test WHERE b != NULL AND c != NULL )
|
-
Qian0(提问者)
- 数据展示现在已经没问题了 只是查询条件,这个参数要怎么设置呢 ?
-
墨残烛 回复 Qian0(提问者)
- 数据集里写就好了,答案已修改
|
|