Is there a more efficient way to aggregate the top row from multiple select statements into a single result?
问题 Ok, I have experience in various databases, but not Oracle specifically, so still trying to wrap my head around how it handles things (i.e. the lack of 'Top' drives me mad!) Anyway, here's what we're trying to do... Note: We're using Oracle 11. I understand a new feature was added to Oracle 12 (i.e. FETCH NEXT n ROWS ONLY ) but we can't use that unfortunately. To start, we have an articles table (technically it's a view, but I'm simplifying it here). Here are the relevant fields... ID