Difference between sub query and nested query ?
Answers were Sorted based on User's Feedback
Answer / a.brahmam
subquery are also called as nested query
question is wrong
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sravzzz
Sunbquery is a query within a query where as Nested query
is a subquery which resinde in the WHERE clause.
Is This Answer Correct ? | 12 Yes | 15 No |
Answer / s.maheshbabu
quarry inside a quarry is called sub quarry.when sub quarry
is also called nested quarry.
co-related sub quarry is one as inner quarry is evaluated.is
anther result of inner are evaluated.
nested quarry is multiple time of one outer quarry.
ex;-quarry used in()caused co-related quarry.
quarry used with=operator is nested quarry.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / verme and verma
There is No Difference between nested query And Sub-Query
difference is only developed by, namely..
.Interviewer
.Programmer thinking
.Our Thinking
.For manipulating perfectly
Is This Answer Correct ? | 2 Yes | 5 No |
Answer / abhishek katiyar
I THINK DEFINITION DEPENDS UPON PROGRAM AND PROGRAMMER
Is This Answer Correct ? | 0 Yes | 6 No |
Main Diff. b/w Subquery & Nested Subquery:
The query inside a query is known as a subquery.
When we have another query again query inside subquery then
it is known as nested subquery.
Is This Answer Correct ? | 25 Yes | 36 No |
Answer / vrushali
Co-related sub query is one in which inner query is
evaluated only once and from that result outer query is
evaluated.
Nested query is one in which Inner query is evaluated for
multiple times for gatting one row of that outer query.
ex. Query used with IN() clause is Co-related query.
Query used with = operator is Nested query
Is This Answer Correct ? | 8 Yes | 68 No |
what is the bitmap index?
What is a system tablespace and when it is created?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
What is a recycle bin in oracle?
What is the quickest way to fetch the data from a table?
Give the various rollback segment states.
What suggestions do you have to reduce the network traffic?
what is insert all statement in sql
How to create an initialization parameter file?
How to use subqueries in the from clause in oracle?
5. Display full details from the ORDER_LINE table where the item number is (first condition) between 1 and 200 (no > or < operators) OR the item number is greater than 1000 AND (second condition) the item cost is not in the list 1000, 2000, 3000 OR the order number is not equal to 1000.
How to define a variable to match a table column data type?