How to use subqueries with the exists operator in oracle?



How to use subqueries with the exists operator in oracle?..

Answer / Gaurav Mathur

"To use a subquery with the EXISTS operator in Oracle, you can write it like this:

```
SELECT * FROM table_1
WHERE EXISTS (
SELECT * FROM table_2
WHERE table_1.id = table_2.id
);

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

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

2 Answers  


What is Index Cluster ?

2 Answers  


How to change program global area (pga) in oracle?

1 Answers  


Which is better Oracle or MS SQL? Why?

3 Answers   Bally Technologies,


How to define and use table alias names in oracle?

1 Answers  


What is the difference between truncate & delete command?

1 Answers  


How to check the oracle tns settings?

1 Answers  


What is a database schema in oracle?

1 Answers  


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

1 Answers   EDC,


How do I recompile a procedure in oracle?

1 Answers  


What are the differences between date and timestamp in oracle?

1 Answers  


State the various uses of dbcc command?

1 Answers  


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