MySQL JSON: select json data field in SQL

revision a583a99e95ccd200312242543733f3dab6e0218e

raw

keywords.txt

sql
raw

query.sql

1
2
3
4
5
SELECT general->"$.country" AS country FROM node_data HAVING country IS NOT NULL
 
-- remove quotes from string data
SELECT general->>"$.country" AS country FROM node_data
 

History