利用sql查出的结果集重新生成一张虚拟表

"select * from ( SELECT mc.id,mc.sn,mc.updated,mc.client_name,mc.brand,mc.mileage,mc.displace,mc.thumb, substring(substring_index(report,'\"factime\":{\"val\":\"',-1),1,10) as newdate FROM `b_mc_report` as mc ) newtable ".$where." AND newtable.id > ".$maxid." LIMIT 5";
posted @ 2017-07-13 11:01  我辈年轻  阅读(2683)  评论(0编辑  收藏  举报