code: def create(self, no_data=False):
          
  
          if self.query:
              ddl_statement = self.compile_create_as()
          else:
              ddl_statement = self.compile_create()
  
          if no_data:
              ddl_statement += '\nWITH NO DATA'
  
          return ddl_statement, self.query_values
docs: Declare materalized view.