SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 5) ExpressionList (children 2) Identifier domain Function arrayUniq (alias example_subdomains) (children 1) ExpressionList (children 1) Function groupArraySampleDistinct (children 2) ExpressionList (children 1) Identifier subdomain ExpressionList (children 2) Literal UInt64_5 Literal UInt64_11111 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier distinct_two_level ExpressionList (children 1) Identifier domain ExpressionList (children 2) OrderByElement (children 1) Identifier domain OrderByElement (children 1) Identifier example_subdomains Literal UInt64_10