code: def as_sql(self):
          
          return ','.join('`%s`' % name if self.attributes[name].sql_expression is None
                          else '%s as `%s`' % (self.attributes[name].sql_expression, name)
                          for name in self.names)
docs: represent heading as SQL field list