由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 其实有个问题好久没有明白!
相关主题
SQL combine two columns from two different tables no shared (转载)column in table point to another table
Table Merge (SQL Server)mysql maximum columns <=1000?
问个external table field definition的问题Q on adding new column
analyze 在oracle里怎么用?Basic oracle questions.
初级问题Please help: Innodb table could not drop a column
请教一个问题Re: Please help: Innodb table could not
如何only update the first occurrence in a tableHelp on Sql server huge table performance
help about SQL for ACCESSJoin optimization
相关话题的讨论汇总
话题: table话题: sql话题: copy话题: just话题: what
进入Database版参与讨论
1 (共1页)
c*******a
发帖数: 29
1
把一个table的一个column按相同字串copy到另一个table
而不是象mysql里面的left join那样,只是display,
table还是两个,
merge的话,table也还是两个,
难道sql就不能直接做,非得写个程序倒出来再倒回去?
b******l
发帖数: 261
2
don't understand what u ask for. Please give out an example

【在 c*******a 的大作中提到】
: 把一个table的一个column按相同字串copy到另一个table
: 而不是象mysql里面的left join那样,只是display,
: table还是两个,
: merge的话,table也还是两个,
: 难道sql就不能直接做,非得写个程序倒出来再倒回去?

y****i
发帖数: 5690
3
I guess he's trying to copy some columns from one table to another table,
which I think can be easily done by sql.
Just insert/update to the target table what you select from the souce table.

【在 b******l 的大作中提到】
: don't understand what u ask for. Please give out an example
1 (共1页)
进入Database版参与讨论
相关主题
Join optimization初级问题
HELP: 如何实现 一个简单的Query请教一个问题
请教一个mysql 排序问题。如何only update the first occurrence in a table
How to replace 0 with empty?help about SQL for ACCESS
SQL combine two columns from two different tables no shared (转载)column in table point to another table
Table Merge (SQL Server)mysql maximum columns <=1000?
问个external table field definition的问题Q on adding new column
analyze 在oracle里怎么用?Basic oracle questions.
相关话题的讨论汇总
话题: table话题: sql话题: copy话题: just话题: what