开发者

use of in Keyword IN keyword in Query

select * from resource 开发者_高级运维 where ResourceID= 1 and ResourceKeyword in(gallery 1,1980)

I have an table called resource with columns ResourceID, ResourceKeyword

ResourceKeyword can contain multiple values when ever I am using this query

I get an syntax error

what is syntax to solve it

thank you


Random guess, string delimiters

select *
from resource
where ResourceID= 1 and ResourceKeyword in('gallery 1','1980')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜