sql语句中or条件有无括号举例!!

select * from school where class=1 and (sex like 男 or birthday like 1);                     spa  or在括号里面,结果集是班级1后再加过滤条件是男生或生日在1月份获得的;class select * from school where class=1 and sex like 男 or birthday
相关文章
相关标签/搜索