इस क्वेरी को आजमाएं: SELECT `Currency_Code`, SUM(`Principal Amount`) as Total FROM `table` GROUP BY `Currency_Code`