-- 查看表结构 select * from user_tab_columns where table_name = '表名';
-- 查看表主键 select a.constraint_name, a.column_name from user_cons_columns a, user_constraints b where a.constraint_name = b.constraint_name and b.constraint_type = 'P' and a.table_name = '表名';
查询表结构演示:
查询表主键演示:
喜欢的点个赞❤吧!