Core Java, Spring framework, Microservices, SQL. For the SQL portion, use the provided cardholders and transactions tables to identify qualifying cardholders for calendar year 2025. Include only approved transactions when calculating totals and counts.
Output
- One row per qualifying cardholder.
- Columns:
cardholder_id, cardholder_name, approved_transaction_count, and approved_total.
- Include cardholders with at least two approved transactions and an approved total of at least 1000.
- Order by
approved_total descending, then cardholder_id ascending.