[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why not reinvent the wheel?
- From: Jonathan Robie <Jonathan.Robie@SoftwareAG-USA.com>
- To: Vasileios Papadimos <vpapad@cse.ogi.edu>, xml-dev@lists.xml.org
- Date: Fri, 02 Mar 2001 11:34:27 -0500
At 09:55 PM 3/1/2001 -0800, Vasileios Papadimos wrote:
>The query processor could propagate the "not-ordered" property to the inputs
>of the unorder operator (so we would only need to mention unorder only once
>in a typical database-oriented query).
Wouldn't you have to mention unorder once for each variable binding in a
query like the following one?
FOR $sp IN document("sp.xml")//sp_tuple,
$p IN unordered(document("p.xml")//p_tuple[pno = $sp/pno]),
$s IN unordered(document("s.xml")//s_tuple[sno = $sp/sno])
RETURN
<sp_pair>
$s/sname ,
$p/descrip
</sp_pair> SORTBY (sname, descrip)
Or am I missing something here?
Jonathan