1.查询字段所对应的值:
SELECT c.result_http->"$.create_time",json_extract(c.result_http,"$.end_time") from user c ;
2.获取所有键值
SELECT json_keys(c.列名) from TABLE
1.查询字段所对应的值:
SELECT c.result_http->"$.create_time",json_extract(c.result_http,"$.end_time") from user c ;
2.获取所有键值
SELECT json_keys(c.列名) from TABLE
转载于:https://www.cnblogs.com/anxbb/p/9056932.html