如果没有共同属性,自然连接 [英] Natural join if no common attributes

查看:153
本文介绍了如果没有共同属性,自然连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果表没有同名的属性,自然连接在关系代数中会返回什么?它会为空还是与叉积相同(笛卡尔运算符)?

What will natural join return in relational algebra if tables don't have attributes with same names? Will it be null or the same as cross-product (Cartesian operator)?

推荐答案

如果两个关系之间没有共同的属性,并且执行自然连接,它将返回笛卡尔积 两种关系.

If there are no attributes in common between two relations and you perform a natural join, it will return the cartesian product of the two relations.

这篇关于如果没有共同属性,自然连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆