中介 Shape COMPUTE 子句
在參數化 shape 命令的父代和子系之間可以內嵌一或多個 COMPUTE 子句,如下列範例所示:
SHAPE {select au_lname, state from authors} APPEND
((SHAPE
(SHAPE
{select * from authors where state = ?} rs
COMPUTE rs, ANY(rs.state) state, ANY(rs.au_lname) au_lname
BY au_id) rs2
COMPUTE rs2, ANY(rs2.state) BY au_lname)
RELATE state TO PARAMETER 0)