We face code quality issues because of inline mysql queries. Having self-written mysql queries really clutters the code and also increases code base etc.
Our code is clu
Can you create a view which that query.
Then select from the view
I don't see any parameters in the query so I suppose view creation is possible.