2012-09-03 56 views

回答

0

試試這個(與你的表的真實姓名替換t1):

select 
distinct(ServedIMSI) ServedIMSI, 
(select Servicekey from t1 a 
    where a.ServedIMSI = t.ServedIMSI and rownum=1) Servicekey 
from t1 t 

你可以找到一個運行實例here

+1

我發現了一個sollution SELECT服務關鍵字,分鐘(ServedIMSI)FROM <> GROUP BY ServiceKey 對不起,很感謝你 – mortos