查询所有表:
select * from user_tables;查询所有表的数量:
select count(*) from user_tables;模糊查询该条件的表名称:
select * from user_tables where table_name like '%S%';条件查询所属用户:
select * from user_tables where Tablespace_name = 'scott';
本文介绍了使用SQL进行表查询的方法,包括查询所有表、获取表数量、模糊查询表名及按条件筛选所属用户的具体操作。
查询所有表:
select * from user_tables;查询所有表的数量:
select count(*) from user_tables;模糊查询该条件的表名称:
select * from user_tables where table_name like '%S%';条件查询所属用户:
select * from user_tables where Tablespace_name = 'scott';
6213

被折叠的 条评论
为什么被折叠?