硅谷工具人的博客1. 准备数据表test2 create table test2( a int, b int, c int, d int, e int); 2. 准备2条数据 insert into table test2 values(5,1,3,8,6); insert into table test2 values(6,2,5,11,9); 查询显示如下: 3. ...
--成长的菜鸟--的博客方式1:select max(column_id) from user_tab_columns where table_name=upper(‘表名’) 方式2:select count(*) from user_tab_columns where table_name=upper(‘表名’)