SELECT
SELECT DISTINCT(A.fee_Type) 'FeeType', SUM(B.amount) 'Amount' FROM feeDetails A INNER JOIN feeQuotations B ON A.fee_Type = B.fee_Type and A.StudentID = B.StudentID GROUP BY A.fee_Type
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)