Rename attribute3 to productID and leave string as the type.
将 attribute3 重命名为 productID,并保留 string 类型。
The for clause binds variable $p to each of these ProductID values in turn.
for 子句依次将变量 $p 绑定到每个 ProductID 值。
The return clause constructs a new product element for each distinct ProductID value.
return子句为每个不同的productid值构造一个新的“product”元素。
应用推荐