mysql 多查询临时表的运用

SELECT * from (select count(*) imgCount1 from imagetable where SeriesID = '120106199202063029201809291007TMI0222001') i,
   (select ImageCount imgCount2 from seriestable where SeriesID = '120106199202063029201809291007TMI0222001') s

猜你喜欢

转载自www.cnblogs.com/gaara-zhang/p/9722993.html