I want to extract the new status value from the below JSON
{"old_status":"Testing(PhaseI)","new_status":"Production(PhaseII)","user":"Developer","reason":null}
so the output required is Production(PhaseII) , pls note that the new_status's values are completely dynamic, how to do this using JSON_EXTRACT()
SELECT JSON_UNQUOTE(JSON_EXTRACT(`field``, '$.new_status'))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.