SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 4) Function medianExactWeighted (children 1) ExpressionList (children 2) Identifier a Literal UInt64_1 Function medianExactWeighted (children 1) ExpressionList (children 2) Identifier b Literal UInt64_2 Function medianExactWeighted (alias x) (children 1) ExpressionList (children 2) Identifier c Literal UInt64_3 Function toTypeName (children 1) ExpressionList (children 1) Identifier x TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier decimal