select TAKIPNO from TBLHAREKET where HAREKETID in (select max(HAREKETID) from TBLHAREKET group by TAKIPNO) and ACK = 'Üretimde.';