SELECT F1, F2, F3 , F4 FROM test as A WHERE F2= (SELECT MAX(B.F2) FROM test as B WHERE A.F3 = B.F3 )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)