由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - how to get the product for a column
相关主题
ask for help with a simple query!!!SQL combine two columns from two different tables no shared (转载)
请教SQLSQL query 一问
请教SQL server的一个programming的问题,谢谢请问sql 有条件性的select columns
SQL Server - how to obtain data type name请问SQL高手
老印给我的一个ChallengeRe: 求救!!! 一个oracle的问题! 在procedure中所涉及的表名可以用变量从参数中传入吗
Table Merge (SQL Server)纪录查找问题
Oracle Group and Index questionPL/SQL cursor abstract type usage?
SQL aggregate multiple columns in ACCESS请教一个SQL问题
相关话题的讨论汇总
话题: column话题: product话题: price话题: may话题: get
进入Database版参与讨论
1 (共1页)
s******y
发帖数: 68
1
like
Date Price
--------------------
1-may 15
2-may 17
3-may 18
4-may 19
...........
How to get the product of column PRICE by SQL? that is, (15*17*18*19.
.)
thanks
t*****g
发帖数: 1275
2
加个column显示log(price),sum一下再exp出来.
不是很准确而且要handle一些特别数据.最好用cursor算一下.

19.

【在 s******y 的大作中提到】
: like
: Date Price
: --------------------
: 1-may 15
: 2-may 17
: 3-may 18
: 4-may 19
: ...........
: How to get the product of column PRICE by SQL? that is, (15*17*18*19.
: .)

s******y
发帖数: 68
3
对呀, roundoff error 大了点. 呵呵

【在 t*****g 的大作中提到】
: 加个column显示log(price),sum一下再exp出来.
: 不是很准确而且要handle一些特别数据.最好用cursor算一下.
:
: 19.

1 (共1页)
进入Database版参与讨论
相关主题
请教一个SQL问题老印给我的一个Challenge
MS SQL database engineer(sr)ONSITE 面试该如何准备?Table Merge (SQL Server)
急问: 请问SQL适合做这种计算吗?Oracle Group and Index question
2个table, 一个里面有4万个email, 一个里面有1万6千个email,如何比较?SQL aggregate multiple columns in ACCESS
ask for help with a simple query!!!SQL combine two columns from two different tables no shared (转载)
请教SQLSQL query 一问
请教SQL server的一个programming的问题,谢谢请问sql 有条件性的select columns
SQL Server - how to obtain data type name请问SQL高手
相关话题的讨论汇总
话题: column话题: product话题: price话题: may话题: get