Order by MySQL JSON field
18 August 2023 (Updated 27 April 2025)
SELECT * FROM products order by products.details->"$.city_name" DESC
Tagged:
SQL recipes
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment