Explain your experience with data modeling and performance optimization in Oracle or Snowflake.
For the SQL portion, write a PostgreSQL query that summarizes posted transaction activity during the first quarter of 2025 for every active account. The query should preserve active accounts without qualifying transactions and resolve missing account type information clearly.
Output
- One row per active account, with
account_id, account_name, account_type, total_posted_amount, and posted_transaction_count.
- Include only transactions posted from January 1 through March 31, 2025.
- Sort by
total_posted_amount descending, then account_id ascending.