Generates the ranking SQL and the follow-up SQL correctly across the three-turn customer analysis chain.
What was measured
SQL Generation
Does it generate database-backed SQL correctly?
decisive for this rankingtransformation
If the tool cannot produce correct SQL against the database, it cannot reliably answer the question being asked. (3 of 3 judges)
What was given, what came back
Test input: Best customers with unpaid-order and payment-method follow-ups · text · group: live-database-plain-english-queries
Input — what we sent
The exact prompt
Who are my best customers — the ones who order the most and spend the most? Follow-up 1: For the top 3 from that list — do any of them have unpaid orders? Follow-up 2: What payment methods do these top 3 usually use?
A conversational multi-table customer analysis with follow-up questions. It asks for the best customers by both order volume and spend, then drills into unpaid orders for the top 3 and their usual payment methods. Designed to test ranking logic, join-heavy analysis, and follow-up context retention.
Why this input is hard
- · ambiguous business term interpretation
- · multi-table joins
- · aggregation and ranking
- · follow-up context retention
- · scoping to a selected subset
- · payment behavior analysis
Output — unretouched



Also checked on this input — same tool, 4 other criteria
Ambiguity Handling✓ WorkedResolves the ambiguous phrase 'best customers' by answering with both top-by-orders and top-by-spend views rather than silently choosing one.Follow-Up Context✓ WorkedRetains follow-up context perfectly, reusing the same top-3 customer UUIDs in both later questions.Plain English Query Handling✓ WorkedHandles an informal conversational request and splits 'order the most' and 'spend the most' into two separate ranking dimensions instead of guessing.Result Readability◐ MixedThe answer is usable, but it is less readable than it could be because the output centers customer UUIDs instead of human names.
Provenance
- Observation
- a5ea07fa-27b9-4a05-a6f4-ae6b245cefe3
- Evidence run
- af2abc96-3311-484b-a19d-854a2fdd2bf3
- Study
- Query Live Databases Using Plain English with AI
- Research task
- 86b9y6c99
- Tested at
- not recorded
- Source
- first-party
- Evidence state
- verified
- Proof shown
- input + output shown
- Cost / latency
- not captured
- Repeat run
- not captured
- Tester
- not captured
The last three rows are honest blanks, not placeholders — our capture has no field for them yet.
Query this
get_evidence({
tool: "querio",
scenario: "live-database-plain-english-queries"
})MCP · mcp.aidemos.com/api/mcp
Free with attribution.
Same input, same check — 6 other tools
measured on SQL Generation
AskYourDatabase✓ WorkedIt can generate follow-up SQL constrained to exactly the top 3 customers, using hardcoded customer IDs in the WHERE clause.Basedash✓ WorkedIt successfully generated the ranking queries and follow-up lookups, including the top spenders, top order-count customers, unpaid-order status, and usual payment methods.BlazeSQL✓ WorkedIt generated a refined ranking query that joins customers to orders, filters out CANCELLED rows, requires PAID payment_status, and ranks customers by total_spent then total_orders.Dot✓ WorkedIt generated CTE-based SQL that joins customers to paid, non-cancelled orders, aggregates order_count and total_spend, and ranks customers across both measures.Draxlr✓ WorkedAcross the three turns it generated production-grade SQL, including ranking logic, unpaid-order checks, and payment-method aggregation with CTEs, ROW_NUMBER, COALESCE, and LEFT JOIN.FutureSmart NL2SQL Agent✓ WorkedGenerates a clean JOIN/GROUP BY/ORDER BY/LIMIT query for the top-customers ranking, showing the database-backed answer path is functioning on this turn.
This evidence is published in
From the same study (page rebuilt from a later run)
Real inputs and real outputs, no retouching · every cell queryable via API & MCP · aidemos.com