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