I created the following query in my DB, I need to create a View from this query, it should return the initial 3 columns, meta, and accumulated, according to which the select is performing, however at the moment I am performing a select in the view I should pass a where reporting the channel code, that part I am not able to create, could you help me?