Sign in
apache
/
vxquery
/
43e6daad781a16c230210812f6e6ffeb7aa55936
/
.
/
vxquery-xtest
/
src
/
test
/
resources
/
Queries
/
XQuery
/
GhcndRecords
/
Partition-2
/
q03_records.xq
blob: 090b56aadcdf3dfd78a913b6dee5afdf2e5bdf40 [
file
] [
log
] [
blame
]
(: XQuery Aggregate Query :)
(: Find the highest recorded temperature (TMAX) in Celsius. :)
let
$collection
:=
"ghcnd_half_1|ghcnd_half_2"
for
$r
in
collection
(
$collection
)/dataCollection/
data
where
$r
/dataType
eq
"TMAX"
return
$r
/value