我有一个表和数据如下图,我想查询包含所有者的记录。请问有什么帮助吗?
select name from team where blob like %owner%
CREATE TABLE ipl.team(
name text,
captain text,
blob text,
PRIMARY KEY (name, captain)
)
name | captain | blob
------------+-------------------+----------------------------------------
KKR | SRK | {'owner': 'ABC', 'win': '10'}
DD | ME | {'owner': 'XYZ', 'win': '8'}