0
次のようにクエリを実行することが可能です:連結
select wm_concat(some_attribute1) || some_string_attribute || wm_concat(some_attribute2)
from SomeTable;
おかげで、
次のようにクエリを実行することが可能です:連結
select wm_concat(some_attribute1) || some_string_attribute || wm_concat(some_attribute2)
from SomeTable;
おかげで、
グループは
select wm_concat(some_attribute1) || some_string_attribute || wm_concat(some_attribute2)
from SomeTable
group by some_string_attribute;
で存在する場合にのみ、ということを行うことができるはず
または第2部分もまた集合体である場合
select wm_concat(some_attribute1) || max(some_string_attribute) || wm_concat(some_attribute2)
from SomeTable
group by some_string_attribute;
しかし、私はそれはあなたが
select product, sum(price) from sometable
に似て非集計で集計し、混合されているので示されているように動作するとは思わない(すなわち、
はこれを試してみてくださいどの製品によって何のグループ)がないので:
select
wm_concat(attribute_the_first) colNameWon,
the_agregation_attribute,
wm_concat(attribute_the_second) colNameToo
from
table_mien
group by
the_agregation_attribute
あなたは)3列のあなたが望む結果を(取得した場合、その文字列の連結のは、あなたが求めるものをお渡しします。