0
SELECT * 从资源 其中resourceID = 1 和ResourceKeyword在(画廊1,1980)在关键字使用的关键字中在查询
我有一个表称为resource
与列ResourceID, ResourceKeyword
ResourceKeyword
可以当我使用此查询时包含多个值
我得到语法错误
什么是语法来解决它
谢谢
SELECT * 从资源 其中resourceID = 1 和ResourceKeyword在(画廊1,1980)在关键字使用的关键字中在查询
我有一个表称为resource
与列ResourceID, ResourceKeyword
ResourceKeyword
可以当我使用此查询时包含多个值
我得到语法错误
什么是语法来解决它
谢谢
随机猜测,字符串分隔符
select *
from resource
where ResourceID= 1 and ResourceKeyword in('gallery 1','1980')
通过30秒殴打。 :) – Tomalak 2009-11-24 10:47:14
你的猜测是正确的,绝对 – 2009-11-24 10:47:28