SQL中JSON数据的条件

时间:2018-11-26 07:09:59

标签: sql json

[{"Value":"1","Name":"Energy","display":"Energy","value":"Energy"},{"Value":"","Name":"test","display":"test","value":"test"}]

我有json格式的数据。

例如,当我基于Energytest之类的名称进行搜索时,我必须获得此记录

select * from table where json like '%energy,test%'

0 个答案:

没有答案