From fa83dd24e71c807d4929fcd838d988b20b417f92 Mon Sep 17 00:00:00 2001 From: chmnata Date: Thu, 18 Jul 2024 14:47:52 +0000 Subject: [PATCH] Fix miovision example sql --- volumes/miovision/getting_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volumes/miovision/getting_started.md b/volumes/miovision/getting_started.md index bbd675400..e8cb5dfaa 100644 --- a/volumes/miovision/getting_started.md +++ b/volumes/miovision/getting_started.md @@ -175,7 +175,7 @@ SELECT FROM miovision_api.volumes_15min WHERE intersection_uid = 10 -- 10 = King and Bathurst - AND leg <> dir -- count approaches only + AND leg != left(dir, 1) -- count approaches only AND classification_uid = 1 -- light vehicles AND datetime_bin >= '2020-03-13' AND datetime_bin < '2020-03-20'