甲骨文最大函数
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了甲骨文最大函数相关的知识,希望对你有一定的参考价值。
A few examples of the GREATEST function
SELECT GREATEST(5, 18, 21, 3, 65) AS GREATEST_CHECK FROM dual; SELECT GREATEST('France', 'England', 'Russia', 'Japan') AS GREATEST_CHECK FROM dual; SELECT GREATEST('9', '12', '73', '15') AS GREATEST_CHECK FROM dual; SELECT GREATEST('45', 'apple', 'banana', 100) AS GREATEST_CHECK FROM dual; SELECT GREATEST( TO_DATE('25-MAR-2015'), TO_DATE('14-APR-2015'), TO_DATE('7-JAN-2015')) AS GREATEST_CHECK FROM dual; SELECT GREATEST('France', 'England', NULL, 'Japan') AS GREATEST_CHECK FROM dual; SELECT GREATEST('x', 'w', 'y', 'a', 'q', 'u', 'i', 'a', 'd', 's', 'g', 'k', 'e', 'w', 'i', 'p', 'a', 'z', 'b', 'c', 'm', 'w', 'r', 'y', 'n') ASGREATEST_CHECK FROM dual;
以上是关于甲骨文最大函数的主要内容,如果未能解决你的问题,请参考以下文章