聚合函数错误??? [英] Aggregate Function Error ???

查看:73
本文介绍了聚合函数错误???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在下面的区域中:


表:tb_test

资产和描述属于文本类型。

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号

解决方案




其实描述是关键字在SQL中。如果您想使用Query来选择名为desc的列,请尝试下面的代码

展开 | 选择 | Wrap | 行号


谢谢Vijay,但我提到了Desc只是我描述字段的快捷方式,抱歉。


这不是关键词问题。

谢谢你

使用distinct子句而不是group by。


Am in the following cenario:

Table: tb_test
asset and Desc are of text type feilds.

Expand|Select|Wrap|Line Numbers

解决方案

Hi,

Actually Desc is a Keyword in SQL. If you want to to use the Query to Select that Column named desc, try the Code below

Expand|Select|Wrap|Line Numbers


Thanks Vijay , but i mentioned Desc just a shortcut to my Description field, sorry.

Its not the key word issue.
thanks any way


Use a distinct clause instead of group by.


这篇关于聚合函数错误???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆