what is the difference between the query and corelated
query
Answer Posted / aravinda
query: query is single time validation of conditions for
entire result once result is fetched there no further
validation of records.
corelated sub query : each record is validated with inner
query aftr fetch.
1) outer query will execute first and pass a value to inner
query.
2) based on outer query value inner query will execute.
3) based on inner query value the outer query record will be
validated.
inner query will execute for every record of outer query( if
outer query has 10 records inner query will execute 10 times)
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is sqlerrm?
Why triggers are used?
What is the difference between truncate and drop statements?
How does sql store data?
What is data control language (dcl)?
How do I run a sql script?
Is sql a oracle?
What does rownum mean in sql?
What is composite data type in pl sql?
what is sp_pkeys? : Transact sql
When is the explicit cursor used ?
Which command is used to delete a package?
what is top in tsql? : Transact sql
What is identity column in sql server?
Is full outer join same as cross join?