Project

Profile

Help

How to connect?
Download (238 Bytes) Statistics
| Branch: | Revision:

he / src / use-cases / r / q15.xq @ a31dd97a

1
<result>
2
  {
3
    for $u in doc("users.xml")//user_tuple
4
    let $b := doc("bids.xml")//bid_tuple[userid=$u/userid and bid>=100]
5
    where count($b) > 1
6
    return
7
        <big_spender>{ $u/name/text() }</big_spender>
8
  }
9
</result>
(18-18/42)