我可以在 MySQL 中 JOIN 两个表的列数上限?
在 MySQL 中 JOIN 两个表的列数是否有限制?
Is there a limit to the number of columns I can JOIN two tables on in MySQL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
在 MySQL 中 JOIN 两个表的列数是否有限制?
Is there a limit to the number of columns I can JOIN two tables on in MySQL?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
如果 SQL 语句的大小有限制,则是:您无法创建连接如此多列的 SQL 语句,以致连接条件不符合 SQL 的限制陈述。
否则 - 实际上 - 不。在 DBMS 耗尽处理连接的能力之前,您将无法理解连接。
To the extent that there is a limit on the size of an SQL statement, then Yes: you cannot create an SQL statement that joins so many columns that the joining condition does not fit inside the limit on an SQL statement.
Otherwise - and in practice - No. You will run out of the ability to comprehend your joins before the DBMS runs out of the capacity to handle them.