SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) Function JSONExtractRaw (alias res) (children 1) ExpressionList (children 2) Function concat (children 1) ExpressionList (children 3) Literal \'{"x":\' Function if (children 1) ExpressionList (children 3) Function modulo (children 1) ExpressionList (children 2) Function rand (children 1) ExpressionList Literal UInt64_2 Literal \'true\' Literal \'false\' Literal \'}\' Literal \'x\' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1000000 ExpressionList (children 1) OrderByElement (children 1) Identifier res