code: func (adapter *PostgresAdapter) SelectLogQuery() string {
  	query := `
  		SELECT DISTINCT %s,%s FROM %s.%s l WHERE %s = $1;`
  
  	return Cleanf(query,
  		types.SQLColumnLabelTableName, types.SQLColumnLabelEventName, // select
  		adapter.Schema, types.SQLLogTableName, // from
  		types.SQLColumnLabelHeight) // where
  }
docs: // SelectLogQuery returns a query for selecting all tables involved in a block trn