我有移动数据,包括人名、通话日期、from_number和to_number。我需要有被呼叫的人的名字的关联。也就是说,如果我让Barbara从号码x呼叫到号码y,那么我想知道那个y或to_number属于谁?SELECT 'Barbara' AS Person, '2020-07-03' AS Date,'022445544' AS From_Number, '022445545' AS To_NumberSELECT 'Barbar
Select to_number(trim(regexp_substr(A.LOCATION_NUMBER ,'[^ ]+', 1, 2))) AS LOCATION,(to_number(trim(A.END)) + to_number(trim(A.END_DEC))) AS ENDORDER BY to_number</