阅读背景:

与一对多表连接的mysql count(*)

来源:互联网 

I need to perform a COUNT on a quite a big query, where one of the joined tables has a one-to-many relationship. This is throwing off my result as all data is being multiplied by the number of times an item is repeated in the 'many' side of the one-to-many table.I need to perform a COUNT on a quite a big quer




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

分享到: