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

I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.

0 Answers  


what are the database links ?

2 Answers  


How to insert a record into a table?

0 Answers  


Briefly explain what is literal? Give an example where it can be used?

0 Answers  


What is meant by raw datatype?

0 Answers  






Explain the use of rows option in imp command.

0 Answers  


how to select second mauximum value in a given table under salary column

6 Answers   Sapient,


Please explan Why static query is more faster than dynamic query ?

2 Answers  


How to call a stored procedure inside a trigger? Give an example.

1 Answers   Exilant,


what are steps for interface? where is exchange rate defined in which table?

0 Answers  


Can you tell me how to add new column in existing views?how?How is possible?

0 Answers   FIS,


Explain an index segment?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)