CREATE TABLE checking (custid DECIMAL, balance DECIMAL)
CREATE TABLE savings (custid DECIMAL, balance DECIMAL)
CREATE TABLE accounts (custid DECIMAL, name TEXT)

Find the total savings balance of all accounts except the account with name Brown .
SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'
SELECT SUM("T2"."balance") FROM "accounts" AS "T1" JOIN "savings" AS "T2" ON "T1"."custid" = "T2"."custid" WHERE "T1"."name" <> 'Brown'