SQL需要將幾個條件串起來
											[local]1[/local]
				
											有动态和静态的
1.静态条件,并列条件 and
-- 查年龄大于等于30的,并且性别是男的
select 姓名,年龄,性别 from SQL表名
where 年龄>=30 and 性别='男'
2.静态条件,或条件 or
-- 查年龄大于等于30的,或者性别是男的
select 姓名,年龄,性别 from SQL表名
where 年龄>=30 or 性别='男'
										
					
	
	
	
	      


 
											





 
	    

 
	
