结果如下(共有31条记录,其中有几个需要过滤):
select * from (select aa,tm from table1 where aa=(select max(aa) from table1) limit 1) a,(select aa,tm from table1 where aa=(select min(aa) from table1) limit 1) b欢迎分享,转载请注明来源:内存溢出
结果如下(共有31条记录,其中有几个需要过滤):
select * from (select aa,tm from table1 where aa=(select max(aa) from table1) limit 1) a,(select aa,tm from table1 where aa=(select min(aa) from table1) limit 1) b欢迎分享,转载请注明来源:内存溢出
评论列表(0条)