当前位置:网站首页>SQL中MAX与GREATEST的区别
SQL中MAX与GREATEST的区别
2022-07-04 22:05:00 【By Moon】
greatest()求的是某几列的最大值,横向求最大;
max()通常用于返回列中的最大值,纵向求最大。
如果你试图将一个参数传递给greatest(),你将得到一个错误。
GREATEST(a,b,c)
MAX(a)- MIN和LEAST同理
边栏推荐
- Prosperity is exhausted, things are right and people are wrong: where should personal webmasters go
- 机器人相关课程考核材料归档实施细则2022版本
- leetcode 72. Edit Distance 编辑距离(中等)
- 不同环境相同配置项的内容如何diff差异?
- # 2156. Find the substring of the given hash value - post order traversal
- 【Acwing】第58场周赛 题解
- 【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
- 傳智教育|如何轉行互聯網高薪崗比特之一的軟件測試?(附軟件測試學習路線圖)
- 测试必会:BUG的分类及推进解决
- 广电五舟与华为签署合作协议,共同推进昇腾AI产业持续发展
猜你喜欢

Kdd2022 | what features are effective for interaction?

Domestic database chaos

Logo special training camp section II collocation relationship between words and graphics

30余家机构联合发起数字藏品行业倡议,未来会如何前进?

Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel

业务太忙,真的是没时间搞自动化理由吗?

HUAWEI nova 10系列发布 华为应用市场筑牢应用安全防火墙

Logo special training camp section III initial creative techniques

将QA引入软件开发生命周期是工程师要遵循的最佳实践

LOGO特训营 第一节 鉴别Logo与Logo设计思路
随机推荐
制作条形码的手机App推荐
How to manage 15million employees easily?
Test will: bug classification and promotion solution
LOGO特訓營 第一節 鑒別Logo與Logo設計思路
Microservices -- Opening
Logo special training camp section 1 Identification logo and logo design ideas
微服务--开篇
# 2156. Find the substring of the given hash value - post order traversal
[advanced C language] array & pointer & array written test questions
You don't have to run away to delete the library! Detailed MySQL data recovery
繁華落盡、物是人非:個人站長該何去何從
不同环境相同配置项的内容如何diff差异?
抖音实战~评论数量同步更新
Use blocconsumer to build responsive components and monitor status at the same time
Concurrent optimization summary
Common open source codeless testing tools
Why is Dameng data called the "first share" of domestic databases?
PostgreSQL server programming aggregation and grouping
关于栈区、堆区、全局区、文字常量区、程序代码区
现在mysql cdc2.1版本在解析值为0000-00-00 00:00:00的datetime类