SELECT RPAD(Name, 30) As "BranchName",
RPAD(COUNT(Transaction.ID), 16) As "TransactionCount"
FROM Branch, T_b, Transaction
WHERE Branch.ID = BranchID
      AND TransID = Transaction.ID
GROUP BY Name;
