Is it possible to join two tables, that are in two different
users (e.g. SCOTT and HR etc.),but im same database
(e.g. ORCL)?
If yes, then how it is possible?
Explain with step by step procedure.



Is it possible to join two tables, that are in two different users (e.g. SCOTT and HR etc.),but im ..

Answer / suresh babu

yes,it is possible.first create departments table in scott
user,the employees table located in HR user.

Step1:

create table departments as select * from HR.departments;

after execute this query:

select e.first_name,d.department_name from HR.employees
e,SCOTT.departments d where e.department_id = d.department_id;

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Oracle General Interview Questions

what is Materialized view? What is a snapshot? what are the similarities and differences between Materialized views and snapshots?

2 Answers  


ex. one table is having 1 column with 10 records , then how to display all the values in row wise ?

4 Answers  


Give the different types of rollback segments.

0 Answers  


Explain rename?

0 Answers  


Hi how Can I Add A Foreign key that references a table that has composit primary key ? example i had costumer table that has C_Id and SSN Both as PK and another table has C_Id that must refernece C_Id in Customers i done the usual way and got oracle error message about uniqeness any ideas plz

2 Answers  






is there a tool to trace queries, like profiler for sql server?

0 Answers  


Give SQL Query to find the number words in a sentence ? ex: 'ram charan singh' then ans:3

3 Answers  


What is oracle database client?

0 Answers  


What is a data segment ?

1 Answers  


How to create a new tablespace in oracle?

0 Answers  


How to export data with a field delimiter?

0 Answers  


How can you merge two tables in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)