testsAndMisc/python_pkg/sql_drills/fixtures/06_number_traps/schema.sql
Krzysztof kuhy Rudnicki ee78ae44cc
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Add sql_drills MySQL exact-match harness
Docker mysql:8.0.33 container, judge-style output grading, 12 original drills with live-verified references kept in tests only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZewj4WS5X6AZyjWDp
2026-11-01 21:13:18 +01:00

12 lines
411 B
SQL

CREATE TABLE team_results (
id INT PRIMARY KEY,
team VARCHAR(20) NOT NULL,
season INT NOT NULL,
wins INT NOT NULL,
games INT NOT NULL
);
INSERT INTO team_results (id, team, season, wins, games) VALUES
(1, 'Hawks', 2021, 7, 12), (2, 'Hawks', 2022, 8, 12),
(3, 'Hawks', 2023, 10, 14), (4, 'Lions', 2021, 5, 10),
(5, 'Lions', 2022, 6, 10), (6, 'Owls', 2022, 0, 8);