My question is how can I select the currency not equal to USD and CNY and rename as others. Also, combining it into a new column AMT_Others.
ID     Name       Date          AMT_HKD    AMT_JPY   AMT_USD   AMT_TWD   AMT_CNY   
1      Amy     01/04/2022         0          5000       0        0          0
2      Bill    01/03/2022        200          0         0        0          0
3      Cathy   02/02/2022         0           0        80        2000      200
Result:
ID     Name       Date         AMT_Others    
1      Amy     01/04/2022        5000      
2      Bill    01/03/2022        200 
3      Cathy   02/02/2022        2000 
my code: (It cannot generate what I want, what should be added? Thanks)
select ID, Name, Date, (AMT_HKD, AMT_JPY and AMT_TWD) as AMT_Others
 
     
     
     
     
     
    