4.2.3 构造查询相关树