blob: a702462afdbfd375ca6a17062d8190b04aacbe3d [file] [log] [blame]
(: XQuery Aggregate Query :)
(: Find the lowest min temperature. :)
fn:min(
let $collection := "ghcnd_half_1|ghcnd_half_2"
for $r in collection($collection)/dataCollection/data
where $r/dataType eq "TMIN"
return $r/value
)