/** SELECT * FROM (g1 cross join g2) cross join (g3 cross join g4) */
@Test public void testMultiCrossJoin2() {
UnaryFromClause g1 = new UnaryFromClause(new GroupSymbol("g1")); //$NON-NLS-1$
UnaryFromClause g2 = new UnaryFromClause(new GroupSymbol("g2")); //$NON-NLS-1$
JoinPredicate jp = new JoinPredicate(g1, g2, JoinType.JOIN_CROSS);
UnaryFromClause g3 = new UnaryFromClause(new GroupSymbol("g3")); //$NON-NLS-1$
UnaryFromClause g4 = new UnaryFromClause(new GroupSymbol("g4")); //$NON-NLS-1$
JoinPredicate jp2 = new JoinPredicate(g3, g4, JoinType.JOIN_CROSS);
JoinPredicate jp3 = new JoinPredicate(jp, jp2, JoinType.JOIN_CROSS);
From from = new From();
from.addClause(jp3);
AllSymbol all = new AllSymbol();
Select select = new Select();