在用户A中:
grant connect resource,select any table to b;
在用户B中:
grant connect resource,select any table to a;