查看多表的数据也可使用表连接,表连接(join on…),表连接都可用子查询替换,但有的子查询不能用表连接替换,子查询比较灵活,方便,形式多样,适合于作为查询的筛选条件。
基于8个网页-相关网页
我们直接将两个表连接在一起,而不再使用子查询。
因此需要一个表连接图书和作者,而且这种连接必须是多对多的。
So you need a table to connect a book to an author, and you must allow those connections to be many-to-many.
虽然没有人直说,但我想如果你要避免使用表连接,就会有很多去正规化工作。
No one said this explicily, but I presume there is a lot of de-normalization going on if you are avoiding joins.
And when I create a binding, x I'm taking a variable name, in this case x, stored somewhere in a table, and I'm creating a link or a pointer from that name to that value.
当我创建一个绑定的时候,我有一个变量的名字,在这个例子中是,存在一个表中的某处,然后创建一个连接,或者指针从这个名字指向目标值。
应用推荐