modified sql to exclude the chutes that were removed

This commit is contained in:
Salijoghli 2025-09-18 22:31:24 +04:00
parent badfd428b7
commit de780bc154
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ WITH DesiredLanes AS (
SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a, SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a,
(SELECT 0 AS N UNION SELECT 1 UNION SELECT 2) b (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2) b
) numbers ) numbers
WHERE n <= 29 -- 101 to 130 WHERE n <= 23 -- 101 to 124
) lanes ) lanes
WHERE lane_number NOT IN (102, 104, 106) -- exclude these WHERE lane_number NOT IN (102, 104, 106) -- exclude these
), ),

View File

@ -8,7 +8,7 @@ WITH DesiredLanes AS (
SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a, SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a,
(SELECT 0 AS N UNION SELECT 1 UNION SELECT 2) b (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2) b
) numbers ) numbers
WHERE n <= 29 -- 101 to 130 WHERE n <= 23 -- 101 to 124
) lanes ) lanes
WHERE lane_number NOT IN (102, 104, 106) -- exclude these WHERE lane_number NOT IN (102, 104, 106) -- exclude these
), ),

View File

@ -18,7 +18,7 @@
"cacheEnabled": false, "cacheEnabled": false,
"database": "MariaDB", "database": "MariaDB",
"fallbackEnabled": false, "fallbackEnabled": false,
"lastModificationSignature": "51460282b7e2d6e814913f220bb05291d11606d3488100660254a263d597060c", "lastModificationSignature": "d435a0145de02953f5730d815ac3baa54e96791206470d8710cf958ab3873641",
"permissions": [ "permissions": [
{ {
"zone": "", "zone": "",
@ -26,8 +26,8 @@
} }
], ],
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-28T09:46:53Z" "timestamp": "2025-09-18T18:29:18Z"
}, },
"parameters": [ "parameters": [
{ {