|
|
|
|
Re: Find out nth highest salary from Employee Table? [message #343848 is a reply to message #343732] |
Thu, 28 August 2008 06:05 |
aparangi_rhl
Messages: 10 Registered: January 2006
|
Junior Member |
|
|
In co-related queries, for each row in the outer table (in your case TABLE a), the inner query (in your case TABLE b)is executed as many times as there are rows in the inner query checking the 'where' clause for true/false.
Try to take a small sample of the table and execute it on paper for each row. This might help you understand how the query works.
|
|
|