Hi,
I am implementing Query part of CMIS 1.1 specification at the moment and I am trying to figure out how to define FROM clause correctly (I am using Javacc for generating AST).
Here is how it is defined by the CMIS 1.1 specification: 2.1.14.2 Query Language DeïnitionFROM [virtual table names] - according to this, we should be able to specify multiple virtual table names
<from clause> ::= FROM <table reference> <table reference> ::= <table name> [ [ AS ] <correlation name> ] | <joined table> <joined table> ::= "(" <joined table> ")" | <table reference> [ <join type> ] JOIN <table reference> <join specification> <join type> ::= INNER | LEFT [ OUTER ] <join specification> ::= ON <column reference> "=" <column reference>
â
Problem
Looking at the <from clause> specified in CMIS 1.1 chapter 2.1.14.2.1 BNF Grammar I do not see how specifying multiple virtual table names is possible.
e.g. FROM table1, table2 ...
I may be missing on something here so any help would be greatly appreciated.
Thanks in advance.
|