Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
愚蠢的问题..如果您在没有连接的情况下进行选择,数据库使用什么逻辑来确定结果集,例如:
select * from table1, table2
它使用笛卡尔积,它给出了两个表的所有可能组合。
有关此的更多信息,适用于 SQL。
笛卡尔积。表一中的每一行都与表二中的每一行相匹配。