Chapter 3 · Sorting & Limiting
19. Credit Cards Ordered by Credit Limit
Easy10 XPFinance
List all credit cards with their credit limit. Return the card id, card_number, credit_limit, and status for cards where card_type is 'credit' and credit_limit is not null. Order by credit_limit descending.
Tables
- PKidINT
- FKaccount_id→ accounts.idINT
- card_numberTEXT
- card_typeTEXT
- expiry_dateTEXT
- statusTEXT
- credit_limitREAL
- issued_atTEXT
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.