0
中我有虚表的数据如下:准备项目列表的SQL表
Name amount amount1
-----------------------------------------------
mahesh 1200 Null
mahesh 1000 Null
mahesh Null 25000
mahendra 1200 Null
Kirti null 22000
我想准备像下面的列表:
Name amount amount1
-----------------------------------------------
mahesh 22800
mahendra 1200
kirti 22000
怎么办呢? 什么是sql交易?
是你的想法是点击高达一些点,但我freinds你缺少表名和凝聚或为空函数 – mahesh 2011-04-09 10:34:36
...也马亨德拉的结果,你的代码显示 - 1200金额,我不想在它的负面迹象。 – mahesh 2011-04-09 10:36:16
@mahesh:我已经添加了'from'子句,并将第一列写入正面 – Andomar 2011-04-09 11:13:36