Write a SQL query to find the number of distinct failing test cases per release.
Use the test_results table. Count only rows whose status is FAIL, and exclude releases with no failing test cases.
release and distinct_failing_test_casesrelease in ascending order| Column | Type | Description |
|---|---|---|
| result_idPK | INT | Unique identifier for a test result |
| release | VARCHAR(50) | Release tested |
| test_case_id | VARCHAR(50) | Identifier of the executed test case |
| status | VARCHAR(20) | Test result status, such as PASS or FAIL |