CREATE TABLE Financial_transactions (account_id VARCHAR2)
CREATE TABLE Accounts (account_name VARCHAR2, account_id VARCHAR2)

Show the account name, id and the number of transactions for each account.
SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id
SELECT "T2"."account_name", "T1"."account_id", COUNT(*) FROM "Financial_transactions" "T1" JOIN "Accounts" "T2" ON "T1"."account_id" = "T2"."account_id" GROUP BY "T1"."account_id"