Oracle Least()函数
LEAST
The LEAST function returns the smallest expression in a list of expressions. All expressions after the first are implicitly converted to the data type of the first expression before the comparison.
To retrieve the largest expression in a list of expressions, use GREATEST.
The data type of the first expression.
LEAST (expr [, expr]...)
- expr
-
An expression.
Example 17-38 Finding the Shortest Text Expressions
The following statement returns the shortest string.
SHOW LEAST('Harry','Harriot','Harold') Harry
Example 17-39 Finding the Smallest Numerical Expressions
The following statement selects the number with the smallest value.
SHOW LEAST (5, 3, 18) 3
原文地址:点击打开链接
最后更新:2017-04-03 16:49:17
上一篇:
svn错误对照表
下一篇:
对于PowerDesigner中设计表自动生成Sql的分析
java nio之Buffer(一)
ListView中加上加FootView和点击按钮动态加载listview
android Listview下拉滚动时自动加载数据
Android开发9——Activity的启动模式
人工智能将如何改变企业市场
HybridTime - Accessible Global Consistency with High Clock Uncertainty
对AsyncTask进行封装,简化繁琐的异步操作
日本小哥如何使用深度学习和TensorFlow种黄瓜?
CSS垂直/水平居中总结
No matching provisioning profiles found