How to extract json data in mysql select?
I have two tables, and I want to use a value from primary table (here: person.ref) to extract some data from a json field in a secondary table (here: person_details): create table person ( id int(8), ref varchar(20), primary key…