-- name: CreateAccount :one
INSERT INTO accounts
(name, budget_id)
VALUES ($1, $2)
RETURNING *;

-- name: GetAccounts :many
SELECT accounts.* FROM accounts 
WHERE accounts.budget_id = $1;