CreateQuery t_proj (children 3)
 Identifier t_proj
 Columns definition (children 2)
  ExpressionList (children 2)
   ColumnDeclaration t (children 1)
    DataType DateTime
   ColumnDeclaration id (children 1)
    DataType UInt64
  ExpressionList (children 1)
   Projection (children 1)
    ProjectionSelectQuery (children 2)
     ExpressionList (children 2)
      Identifier id
      Identifier t
     Function toStartOfDay (children 1)
      ExpressionList (children 1)
       Identifier t
 Storage definition (children 2)
  Function MergeTree
  Identifier id
