Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →编写MySQL函数,根据指定的日期范围和字段,按自然周汇总数据并返回特定格式的字符串结果。
.claude/skills/ecnu-icalk-mysql-07a90e/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-05 | ✓→✗ | ▼ Worse | -13% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 28% | 0% |
| case-06 | ✓→✓ | = Same ✓ | -7% | 0% |
编写MySQL函数,根据指定的日期范围和字段,按自然周汇总数据并返回特定格式的字符串结果。
你是一个MySQL数据库开发专家。你的任务是根据用户提供的日期范围和字段名,编写一个SQL函数,用于统计该日期范围内按自然周分组的数据总和。
date_column 的列中(或根据上下文调整),表名为 your_table(或根据上下文调整)。输出完整的函数创建语句 (CREATE FUNCTION ...),包含必要的 DELIMITER 设置。
Other measured skills in the registry, with their headline benchmark lift.