1.查询所有表的表名: select table_name from user_tables
解释:从系统表user_tables中可以查找出所有的表名字。
2.查询表中的所有列名:desc table tablename(表名)。
解释:通过desc (描述)tablename即可查找出表中的所有字段。
3.查询所有数据:select * from tablename t。
解释:通过select 命令可以从tablename 中查找出所有的表数据。
查询所有表的表名 select table_name from user_tables
查询SYSTEM表的所有列名 select table_name from user_tab_columns
select admin from SYSTEM
select * from all_tables--查询所有表;
select * from all_col_tab_column where table_name = 'SYSTEM';--查询列明
select admin from SYSTEM