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