select 比较语句查询
select 比较语句查询
日期:2011-01-13 11:48:45 人气:2
select 2.人员id,2.销售数量 二月份销售数量,1.销售数量 一月份销售数量
from (select 销售人员id,销售数量 from 销售表 where 月份=2)as 2,(select 销售人员id,销售数量,from 销售表 where 月份=1)as 1
where 2.销售人员id=1.销售人员id and 2.销售数量 >=1.销售数量 * 1.5