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
Call procedure in the code after putting query into the db procedure. @paval also already answered you may also refer here. create procedure sp_query() select * from table1;