oracle列求和?查询结果为:600ml+2U.语句怎么写,假设这是test表UTIT值为ml或者U.考虑有无ml,U
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/17 15:18:56
oracle列求和?
查询结果为:600ml+2U.语句怎么写,假设这是test表
UTIT值为ml或者U.考虑有无ml,U的情况
查询结果为:600ml+2U.语句怎么写,假设这是test表
UTIT值为ml或者U.考虑有无ml,U的情况
测试数据create table test
(mount int,
unit varchar2(10));
insert into test values (100,'ml');
insert into test values (100,'ml');
insert into test values (1,'U');
insert into test values (200,'ml');
insert into test values (1,'U');
insert into test values (200,'ml');执行select replace(wm_concat(t.mount||unit),',','+')
from
(select sum(mount) mount,unit from test where unit in ('ml','U') group by unit order by unit desc) t结果 如果执行不了,把wm_concat改换成sys.wm_concat
再问: ��Ҫ�鷳һ�����ˣ����Ӹ�ʱ���ֶ��ˣ���ѯ����磺2013/12/11 150ml+18U
2014/1/3 750ml
再答: ��ʱ������������select t.ʱ��,replace(wm_concat(t.mount||unit),',','+')
from
(select sum(mount) mount,unit,ʱ�� from test where unit in ('ml','U') group by unit,ʱ�� order by unit desc) t
group by t.ʱ��
(mount int,
unit varchar2(10));
insert into test values (100,'ml');
insert into test values (100,'ml');
insert into test values (1,'U');
insert into test values (200,'ml');
insert into test values (1,'U');
insert into test values (200,'ml');执行select replace(wm_concat(t.mount||unit),',','+')
from
(select sum(mount) mount,unit from test where unit in ('ml','U') group by unit order by unit desc) t结果 如果执行不了,把wm_concat改换成sys.wm_concat
再问: ��Ҫ�鷳һ�����ˣ����Ӹ�ʱ���ֶ��ˣ���ѯ����磺2013/12/11 150ml+18U
2014/1/3 750ml
再答: ��ʱ������������select t.ʱ��,replace(wm_concat(t.mount||unit),',','+')
from
(select sum(mount) mount,unit,ʱ�� from test where unit in ('ml','U') group by unit,ʱ�� order by unit desc) t
group by t.ʱ��
oracle列求和?查询结果为:600ml+2U.语句怎么写,假设这是test表UTIT值为ml或者U.考虑有无ml,U
U/ml是什么含义?
U/ML是什么单位?
ug/ml和U/ml之间怎么换算,
U/L与UG/ML怎么换算
U/ml是什么意思?比如青霉素的生产能力1000U/ml
u/ml 与 μg/ml的关系?
装入食盐水50ml 当测得的氢气为5.6ml时停止通电。摇匀U形管后溶液中的NAOH的浓度是 -------
MIU/ML与U/L怎么样换算
血量单位1U等于多少ml?
u与ml的单位换算?2.0u悬浮红细胞是多少ml,0.75u冷沉淀又是多少ml,如何换算?
如何配制 250U/ml 的肝素钠溶液