Solve the business requirement using SOQL.
Return the matching records or aggregate groups required by the prompt.
Use the specified SOQL features and preserve the required ordering.
7 row(s), any order
| # | cnt | total | OwnerId | StageName |
|---|---|---|---|---|
| 1 | 60 | 183000000 | null | null |
| 2 | 12 | 36600000 | 005000000000001AAA | Prospecting |
| 3 | 12 | 39000000 | 005000000000001AAA | Closed Lost |
| 4 | 12 | 35400000 | 005000000000001AAA | Closed Won |
| 5 | 12 | 37800000 | 005000000000001AAA | Negotiation/Review |
| 6 | 12 | 34200000 | 005000000000001AAA | Proposal |
| 7 | 60 | 183000000 | 005000000000001AAA | null |