最后的恋人金素梅:sql语句(多个条件的写法)

来源:百度文库 编辑:中科新闻网 时间:2024/05/08 18:36:19
select * from job where a=1,b=2 and c=3
这样对吗

select *
from job
where a=1 and b=2 and c=3

select * from job where a=1,b=2 and c=3
中where a=1 , b=2 怎么用,是用or 或者 and 吧!
(|| 或者 && )

select * from job where a=1 and b=2 and c=3