First of all those 2 queries are not the same, they produce different result sets. For the analytical query, it returns every single record in the table versus very few records for the other query. If you include "distinct" in the outer section of analytical query, then you will get the same result set for both the queries. Thanks, Sai http://sai-oracle.blogspot.com