oracle和mysql下查看用户表的方式:

1)oracle
select table_name from user_tables;
2)mysql
show tables;
或者
select table_name from information_schema.tables t where t.table_schema='test';
test为需要查看的数据库名称。
information_schema.tables中有所有的数据库表 ,查看数据库对应数据库的表需要指定数据库名称;

你可能感兴趣的:(oracle和mysql下查看用户表的方式:)