28,390
社区成员
发帖
与我相关
我的任务
分享
select
xx.id, xx.tid,
xx.lb, xx.uid,
xx.xq, xx.img,
xx.date, xx.gj,
xx.lx, xx.mj,
xx.zj, xx.fg,
xx.hits
from picture as xx,
(select tid,min([px]) as zz from picture where img is not null and qu=1070 and gj=1 group by tid) as yy
where xx.tid=yy.tid and xx.px=yy.zz and xx.gj=1
order by xx.id
select xx.id,xx.tid,xx.lb,xx.uid,xx.xq,xx.img,xx.date,xx.gj,xx.lx,xx.mj,xx.zj,xx.fg,xx.hits from picture as xx,(select tid,min([px]) as zz from picture where img is not null and qu=1070 and gj=1 group by tid) as yy where xx.tid=yy.tid and xx.px=yy.zz and xx.gj=1
order by xx.id
是这个意思?