Browsing: recursive subquery factoring