From 1443ca015c75f811a34a2fbc1f7f12ffb36b96c4 Mon Sep 17 00:00:00 2001
From: Denis Smirnov <sd@picodata.io>
Date: Fri, 22 Mar 2024 17:55:16 +0700
Subject: [PATCH] fix(ebnf): support of the left outer join

---
 doc/sql/query.ebnf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/sql/query.ebnf b/doc/sql/query.ebnf
index 949451b405..117e033c4a 100644
--- a/doc/sql/query.ebnf
+++ b/doc/sql/query.ebnf
@@ -9,7 +9,7 @@ dql         ::= (select | values)
 select      ::= 'SELECT' 'DISTINCT'?  ((projection (',' projection)*))
                 'FROM' (table | ('(' (select | values) ')')) (('AS')? name)?
                 (
-                    ('INNER')? 'JOIN' (
+                    ('INNER' | ('LEFT' ('OUTER')?))? 'JOIN' (
                         ((table | ('(' (select | values) ')')) (('AS')? name)?)
                     )
                     'ON' expression
-- 
GitLab