Hi Rafael,
Please check some of the threads mentioned below for generating high data volume:
http://scn.sap.com/thread/3286683
http://scn.sap.com/thread/3261542
http://scn.sap.com/thread/3312804
The correlated query would go something like:
select col1, col2, col3 from table_1 a
where col4 in (select max(col4) from table_1 b where b.col1 = a.col1);
You can increase the complexity of above mentioned query depending upon the data model.
Regards,
Ravi