Is there any way to export the result-set obtained after applying multiple joins on the several mySQL tables into the JSON format?
It could be better understood with below sample select statement
SELECT * FROM table1
INNER JOIN table2 on table1.col = table2.col
I have to generate the above obtained data into JSON format. Is there any direct option/command available to the select statement by which I can do it?