blob: 64905c1872b15c65ecefc9421e9147ae0e83a253 (
plain) (
blame)
1
2
3
4
5
6
7
|
/* syntax version 1 */
/* postgres can not */
$x = 1.0/length(CAST(Unicode::ToUpper("ab"u) AS String));
select Percentile(key,$x) from (
select 1 as key
union all
select 2 as key)
|