日期:2014-05-18 浏览次数:20563 次
SELECT TOP 1 a.spmch,c.bm,a.lshj,c.shl,b.xingming,b.gukeid,c.rq,c.ontime FROM dbo.spkfk a,dbo.ret_cuxiaoka_v b,dbo.retmxls c WHERE a.spid=c.spid AND b.cardid=c.cardid AND b.gukebh ='060600' ORDER BY c.rq DESC
SELECT a.spmch,c.bm,a.lshj,c.shl,b.xingming,b.gukeid,c.rq,c.ontime FROM dbo.spkfk a,dbo.ret_cuxiaoka_v b,dbo.retmxls c WHERE a.spid=c.spid AND b.cardid=c.cardid AND b.gukebh ='060600' AND rq>'2011-08-30' ORDER BY c.rq