Chinaunix's Archiver
论坛
›
Informix
› 请问一个sql语句的问题?
yulin.188
发表于 2007-06-27 19:10
请问一个sql语句的问题?
table
{
a
b
c
d
}
select a, b , c , d from table group by c , d
这条语句在informix里通不过,请问怎样写才能达到目的?
shanshl
发表于 2007-06-28 08:08
select 后面的所有列(有聚合函数除外,例如count(*)),都应该包含在group by字句中。
页:
[1]
查看完整版本:
请问一个sql语句的问题?