我正在尝试从配置单元中的阵列中进行选择,但执行此操作时遇到问题。我想说的是:
select * from table where ID = 'tennis'
id字段的类型为数组id字段中的数组数据示例如下 id = ('tennis', 'soccer', 'football')
id = ('tennis', 'soccer', 'football')
nwsw7zdq1#
这个 array_contains 功能可能是您所需要的:
array_contains
select * from table where array_contains(ID,'tennis')
1条答案
按热度按时间nwsw7zdq1#
这个
array_contains
功能可能是您所需要的: