2015-03-23是当天的日期 需要查询sl今天减去昨天大于50的记录 n和n对比 s和s对比
select * from test1 t1 inner join test1 t2 on t1.pp=t2.pp and t1.sl-t2.sl>50 and t1.day=t2.day+1