最佳答案
select distinct constraint_type from user_constraints;
C
-
C
P
R
U
似乎 P 代表主键,R 代表外键,对吗? U 和 C 是什么?