我遇到了where子句的问题......
SELECT OBJECT_NAME, OBJECT_TYPE
FROM USER_OBJECTS
WHERE TABLE_NAME IN ('EMPLOYEE', 'DEPARTMENT');
答案 0 :(得分:0)
想出来 -
SELECT constraint_name, constraint_type
FROM user_constraints
WHERE table_name IN ('EMPLOYEE', 'DEPARTMENT');