由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Help on Oracle query
相关主题
请教oracle[转载] Can anyone interpret this simple SQL?
Oracle BI Client 问题Oracle下如何能得到所有table的名字?
有没有可能将在Access里做好的东西导入到Oracle里去analyze 在oracle里怎么用?
需要帮助 -- Oracle Querya complex sql query, high hand help!!!
Is there such a thing as "limited writing access" in Oracle database serverWhat is optimizer statistics of a table and what is access plan of a query
问一个转行到数据库方面的事,急求大家建议!请教ACCESS问题, 如何把REPORT的结果(如SUM)写回TABLE中?
Query help - pivot table如何完成这个sql?
sql面试题目求指点请教一个ACCESS的土问题
相关话题的讨论汇总
话题: cd话题: value话题: david话题: table话题: c4
进入Database版参与讨论
1 (共1页)
x******l
发帖数: 39
1
I have a table a
c1 c2 c3 c4 value
all all all all 5
all david all Y 6
all all cd all 7
and table b
c1 c2 c3 c4
a peter cd N
b david all Y
c all cd N
I want to have get the value from table a into table b, the desired results
is like this:
c1 c2 c3 c4 Value
a david cd N 5
b david ab Y 6
c all cd N 7
That is use the default "all" value if there is no close match find.
Thanks a lot!
c*****d
发帖数: 6045
2
看不懂要干什么
table A和B根据什么条件连结的?
中间可能有一个typo
c1 c2 c3 c4 Value
a david cd N 5 <-- 应该是 a peter cd N 5 ???
b david ab Y 6
c all cd N 7
x****e
发帖数: 1773
3
晕倒。
column names不能提供信息。Data types? Possible values?

【在 c*****d 的大作中提到】
: 看不懂要干什么
: table A和B根据什么条件连结的?
: 中间可能有一个typo
: c1 c2 c3 c4 Value
: a david cd N 5 <-- 应该是 a peter cd N 5 ???
: b david ab Y 6
: c all cd N 7

1 (共1页)
进入Database版参与讨论
相关主题
请教一个ACCESS的土问题Is there such a thing as "limited writing access" in Oracle database server
Re: 求教: Join 两个query (data) tables 出错问一个转行到数据库方面的事,急求大家建议!
菜鸟求教 MS Access pass through queryQuery help - pivot table
如果比较两个table?再access里边sql面试题目求指点
请教oracle[转载] Can anyone interpret this simple SQL?
Oracle BI Client 问题Oracle下如何能得到所有table的名字?
有没有可能将在Access里做好的东西导入到Oracle里去analyze 在oracle里怎么用?
需要帮助 -- Oracle Querya complex sql query, high hand help!!!
相关话题的讨论汇总
话题: cd话题: value话题: david话题: table话题: c4