SQL · Stripe · Easy
Write a PostgreSQL query that, using the tables below, returns the balance from the most recent reporting period for a particular bank account. The schema is: bank_balances(bank_name text, account_name text, start_date date, end_date date, balance numeric(18,2)) requested_account(bank_name text, account_name text) contains exactly one row. A row in bank_balances matches the requested account when its bank_name and account_name values are identical to the values in the single…
Checking your access…