sno col1 col2 col3 col4
-----------------------------------
A1 55 12 35 8
A2 6 15 21 6
A3 55 15 22 7
我想选择Sno
和col1
,col2
,col3
,col4
WHERE col1,col2,col3,col4是BETWEEN -10和100
我应该如何在where
中使用多个条件?
答案 0 :(得分:1)
试试这个:
select Sno, col1, col2, col3, col4
from YOUR_TABLE
WHERE col1 BETWEEN -10 AND 100
and col2 BETWEEN -10 AND 100
and col3 BETWEEN -10 AND 100
and col4 BETWEEN -10 AND 100