S/ASQL 擂台TEXT-TO-SQL BENCHMARK

RUN / #0015已取消

运行 #15

模型:Sol。比较模式:single_model;差异字段:无。创建于 2026年8月29日 20:41。

gpt-5.6-sol

Sol

codex_cli · text综合得分 / 100 · 越高越好
8.33

资源效率

分别列出准确率、每正确等价题 Token、估算费用和生成耗时。费用采用运行时冻结的价格快照。

指标Sol
准确率
越高越好
8.33
Token / 正确等价题
越低越好
19,270
费用 / 正确等价题
USD · 估算
不可估算
模型生成耗时 P95
越低越好
累计 Token
已记录题数
19,2701/12 题

能力维度

加权得分
Sol
基础查询复杂管道子查询窗口函数聚合分析连接语义

分类得分

0—100
能力维度Sol
基础查询100.00
复杂管道0.00
子查询0.00
窗口函数0.00
聚合分析0.00
连接语义0.00

逐题结果(12)

展开案例可查看模型摘要、SQL、错误和原始案例 JSON。

案例Sol
基础筛选与排序
basic_filter_sort
100.00
多表连接品类收入
multi_join_category_revenue
保留零订单客户
left_join_zero_orders
相关子查询分群均值
correlated_segment_average
从未完成订单客户
not_exists_customers
每品类收入前三商品
top3_products_per_category
月收入与累计收入
monthly_running_revenue
月收入环比增长
monthly_mom_growth
高于平均累计消费客户
above_average_customer_spend
渠道支付状态金额
payment_status_by_channel
品类退货率
category_return_rate
每单最新成功支付
latest_successful_payment
基础筛选与排序basic_filter_sort

Sol

查询 2026-01-01(含)起的已完成订单及客户名称,按订单总额降序、订单 ID 升序排列。

SELECT
  o.order_id,
  c.customer_name,
  o.order_date,
  o.total_amount
FROM fact_orders AS o
JOIN dim_customers AS c
  ON o.customer_id = c.customer_id
WHERE
  o.status = 'completed' AND o.order_date >= CAST('2026-01-01' AS DATE)
ORDER BY
  o.total_amount DESC,
  o.order_id ASC
STATUScompletedGEN—msEXEC337.88404100050684ms
多表连接品类收入multi_join_category_revenue
保留零订单客户left_join_zero_orders
相关子查询分群均值correlated_segment_average
从未完成订单客户not_exists_customers
每品类收入前三商品top3_products_per_category
月收入与累计收入monthly_running_revenue
月收入环比增长monthly_mom_growth
高于平均累计消费客户above_average_customer_spend
渠道支付状态金额payment_status_by_channel
品类退货率category_return_rate
每单最新成功支付latest_successful_payment

运行配置

字段来自运行创建时冻结的快照。

app_version0.1.0
attempts1
case_count12
duckdb_version1.5.5
output_contractquery-plan-v1
scorer_version1.0.0
sqlglot_version30.17.0
suite hash0a4a18b4374f510f5eff18b06272c30c3375e1f082ae405adc8ead7dd9c81556
bundle sha25670342e65b34276c8f338518d9f5803707e4da8591dd44641c0b7139d9c72da1d
report schemarun-report-v1
attempts1