- 博客(1)
- 收藏
- 关注
原创 SQL解析Json字符串
解析sql查询的字段为json的字符串1. select content from message_record; 查询的结果类型如下,目的是想要提取下面json字符串中的数据。例如:提取的属性为serilalId。2.查询语句:select json_extract(content, '$.serialId') as serialId from message_record;原函数:JSON_EXTRACT(json_doc, path[, path] ...)查询结果如下图①conten
2020-08-08 16:12:32 8718 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人