How can I use JSON_EXTRACT in MySQL and get a string without the quotes?
You can use JSON_UNQUOTE
to achieve this.
select JSON_UNQUOTE(JSON_EXTRACT(base, '$.scope')) as scope from t_name
ref: Functions That Modify JSON Values
You can use JSON_UNQUOTE
to achieve this.
select JSON_UNQUOTE(JSON_EXTRACT(base, '$.scope')) as scope from t_name
ref: Functions That Modify JSON Values