OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: CMIS11 - Query


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ïnition
FROM [virtual table names] -  according to this, we should be able to specify multiple virtual table names

2.1.14.2.1 BNF Grammar

<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.










[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]