阅读背景:

MYSQL两表联合查询速度超慢,应如何优化?

来源:互联网 
有表A大概三万多条数据,表B十二万多条数据,联合查询时速度超慢
select a.Country,a.City, count(b.*) as pvCount from a left join b on a.uid=b.uid where b.pcsDate>='"+tDate1+"' and b.pcsDate<='"+tDate2+"' group by a.Country,a.City order by pvCount descselect a.C



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: