由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - about joins
相关主题
急问一个关于T-SQL的问题,谢谢Help! A cluster method in SQL
如何完成这个sql?ACCESS join table 问题
难。想了一天了。大牛请进。how to write this query
Re: 求教: Join 两个query (data) tables 出错query questions
Help on Sql server huge table performance这个 query 为什么可以 update multiple rows
Join optimizationplease help with this left join question
question: copy first N rows from table B to table A (DB2)因该是很普通的要求, 可想不出怎么办
请教:SQL面试题。借宝地问个面试中的sql的问题。
相关话题的讨论汇总
话题: joins话题: rows话题: tables话题: true话题: temp
进入Database版参与讨论
1 (共1页)
s**********i
发帖数: 711
1
I read that a temp table is always created for
joins, with number of rows equals to the multiple
of all tables. is this true? sounds terrible if
I join two or more tables if the rows are not small...
c******r
发帖数: 512
2

It is not true.

【在 s**********i 的大作中提到】
: I read that a temp table is always created for
: joins, with number of rows equals to the multiple
: of all tables. is this true? sounds terrible if
: I join two or more tables if the rows are not small...

xt
发帖数: 17532
3
It is wrong. That is the mathematical expression of joins,
but it has nothing to do with the real time joins.
n**m
发帖数: 255
4
But as know, it temp storage(we call it workfile) did been generated in
non-top level join. Certainly, it is not the representation of the
mathematical expression. Instead, it ususally only contains column/rows
that requried.

【在 xt 的大作中提到】
: It is wrong. That is the mathematical expression of joins,
: but it has nothing to do with the real time joins.

1 (共1页)
进入Database版参与讨论
相关主题
借宝地问个面试中的sql的问题。Help on Sql server huge table performance
问个sql的问题吧,搞不出来了. (转载)Join optimization
SQL combine two tables into one table and add a new columnquestion: copy first N rows from table B to table A (DB2)
SQL find distinct values in large table请教:SQL面试题。
急问一个关于T-SQL的问题,谢谢Help! A cluster method in SQL
如何完成这个sql?ACCESS join table 问题
难。想了一天了。大牛请进。how to write this query
Re: 求教: Join 两个query (data) tables 出错query questions
相关话题的讨论汇总
话题: joins话题: rows话题: tables话题: true话题: temp