skip to Main Content

Get last three chars of a json element in mySQL column

I have json data in a column called settings: {"AreaAdmin":null, "StatsAreaAdmin":null, "Logo":"1664805113094.svg", "ExportFree":null, "Banner":null, "BannerMobile":null, "BannerRetina":null, "BannerAddr": null } I have figured out how to grab a json element: SELECT * FROM `user` WHERE JSON_EXTRACT(settings, "$.Logo") How do I grab…

VIEW QUESTION
Back To Top
Search