【发布时间】:2013-05-09 16:27:23
【问题描述】:
我的 TABLE 是这样的:
S_NO A B C
1 1 1 0
2 0 1 0
3 1 1 0
4 1 1 1
当我将 S_NO 设为 1,2 和 3 时,我想要所有 A、B、C 的“或”,
结果应该是这样的
A B C
1 1 0
【问题讨论】:
-
我没有得到您的要求,但您需要的 o/p:
select a,b,c from table where s_no=1;
标签: sql combinations operator-keyword