在第一个查询中,过滤谓词是在由xmltable函数生成的char列“Zip”上表达的。
In the first query, the filtering predicate is expressed on the CHAR column "Zip" generated by the XMLTABLE function.
对于选择元素集合中的第一个元素,最容易的方法是利用值 1 的谓词。
The easiest method for selecting the first in a set of elements is with a predicate of value 1.
假设需要第一张唱片,可以使用谓词来实现:/cds/cd[1]。
Then supposed you want the first CD; you can use a predicate to get that CD, like this: /cds/cd[1].
应用推荐