我有这个简单的表:
CREATE TABLE foo
(
storeName varchar(50),
keyName varchar(50),
docname varchar(512),
config clob,
CONSTRAINT foo_pk PRIMARY KEY(storeName, keyName)
)
而这个选择语句:
SELECT config ,docname
FROM foo
WHERE storeName = 'SolutionFramework'
AND keyName = 'Solutions'
这是我得到的错误: (42000/904) ORA-00904: "KEYNAME": invalid identifier
谁能帮我这个?