条件部分的执行顺序
--CREATE TABLE #T1--(-- col1 int not null,-- col2 int not null--)--insert into #t1--Select 1,2 union--Select 3,1 union--Select 0,2 union--Select 1,0--goSelect * From #T1Select * from #T1 Where (col1<>0) and (col2/col1>1.5)--1Select * from #T1 Where (col2/col1>1.5) and (col1<>0)--2Select * from #T1 Where (col2/col1>1.5) --3