当前位置:网站首页>Chapter 1 SQL operators
Chapter 1 SQL operators
2022-06-10 18:54:00 【yaoxin521123】
List of articles
Chapter one SQL The operator
SQL The operator Symbol (-)
Unary operator that returns an expression as a negative number .
The outline
-expression
Parameters
- expression - Numerical expression .
describe
Unary operators operate on only one expression of any data type of the numeric data type category .
– yes SQL Expand .
Example
The following example returns three numeric fields : Sample.Person Medium Age Column ; – Age Average ( negative ) value ; And age minus average age :
SELECT Age,
-(AVG(age)) AS NegAvg,
Age-AVG(Age) AS AgeRelAvg
FROM Sample.Person

SQL The operator Symbol (+)
Unary operator that returns an expression as a positive value .
The outline
+expression
Parameters
- expression - Numerical expression .
describe
Unary operators operate on only one expression . This expression can be any data type of the numeric data type category .
+( just ) It's a SQL Expand .
边栏推荐
- 商业智能BI在企业的价值之:业务分析发展决策
- & and||
- 基于智慧路灯杆打造智慧社区物联网
- How to transform digital transformation? Which way?
- Adobe Premiere基础-不透明度(蒙版)(十一)
- In the digital era, how can enterprises manage data security and ensure the security of data assets
- 用基础比率重写清晰的贝叶斯公式
- In the digital age, why should enterprises make digital transformation?
- uniapp uview 框架的form表单,输入校验手机号、校验微信号
- 元数据管理,数字化时代企业的基础建设
猜你喜欢

Adobe Premiere Foundation (animation production - Flexible animation) (VIII)

VMware esxi version number comparison table

Data URL

The value of Business Intelligence BI. Is visual report equal to Business Intelligence BI?

跨域报错:When allowCredentials is true, allowedOrigins cannot contain the special value “*“

Data URL

Uniapp native JS to convert the Gregorian calendar to the lunar calendar

Seata installing the window environment

Adobe Premiere Foundation (animation) (VII)

商业智能BI在企业的价值之:业务分析发展决策
随机推荐
Common methods of stream flow lambder
SQL 函数
Adobe Premiere基础-工具使用(选择工具,剃刀工具,等常用工具)(三)
uniapp 原生js实现公历转农历
Introduction to DB2 SQL pl
The value of Bi in the enterprise: business analysis and development decision
Adobe Premiere基础(视频的最后一步字幕添加)(六)
vcsa7u3c安装教程
Wireshark learning notes (I) common function cases and skills
Adobe Premiere foundation - Import and export, merge materials, source file compilation, offline (II)
企业数据质量管理:如何进行数据质量评估?
【QNX Hypervisor 2.2 用户手册】3.2.3 ACPI表和FDT
AGI基础,不确定性推理,主观逻辑一书ppt1
Adobe Premiere Foundation (the last step of video subtitle adding) (6)
RK1126 新添加一个模块
Adobe Premiere foundation - time remapping (10)
In the digital age, why should enterprises make digital transformation?
【接口教程】EasyCVR如何通过接口设置平台级联?
Dynamic SQL of DB2 SQL pl
MySQL索引失效场景