6.创建用户并指定默认表空间
create user 用户名 identified by 密码 default tablespace swdx 用户默认使用哪一个表空间;
7.赋予用户create session 的权限
grant create session to user;
9.赋予用户查询表权限
grant select on tb_his_jysq to user;
10.赋予用户创建同义词的权限
grant create synonym to user;
11.创建同义词
create [or replace] synonym syn_name for table_name; 例如:create or replace synonym view_tb_his_jysq for jcpt.view_tb_his_jysq;