HF RL Explorer

Implement a SQL validation function that detects ambiguous use of DISTINCT combined with GROUP BY in SQL…

Implement a SQL validation function that detects ambiguous use of DISTINCT combined with GROUP BY in SQL…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Example Input 1: SELECT DISTINCT a FROM t GROUP BY a Expected Output: 1 violation detected.

The task

Example Input 1: `SELECT DISTINCT a FROM t GROUP BY a` Expected Output: 1 violation detected.

Part of Essacheez/r2e-code-instruct-qwen3.5.