Can u make a synonym for deptno=10 only from emp table.



Can u make a synonym for deptno=10 only from emp table...

Answer / preethi raju

Yes you can create a view for retrieving data of deptno=10 employees and you can create a synonym for it.

create or replace view v2 as select *from emp where deptno=10;

CREATE OR REPLACE SYNONYM sv2
FOR v2;

select *from sv2;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is oracle update statement with inner join ?

0 Answers  


Explain the use of full option in exp command.

0 Answers  


State some uses of redo log files?

0 Answers  


Explain the difference between sql and oracle?

0 Answers  


Is the After report trigger fired if the report execution fails ?

0 Answers   Oracle,






How to connect to oracle using service name instead of sid?

0 Answers  


what are stored procedures?

7 Answers   TCS, Wells Fargo,


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.

1 Answers   IBM,


What is the purpose of a cluster?

1 Answers  


Why do we use bulk collect in oracle?

0 Answers  


Youre getting high busy buffer waits - how can you find whats causing it?

1 Answers  


How many categories of data types?

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)