*/
@Test public void testSubQueryINClauseImplicitConversion(){
//select e1 from pm1.g1 where e2 in (select e1 from pm4.g1)
//sub command
Select innerSelect = new Select();
ElementSymbol e1inner = new ElementSymbol("e1"); //$NON-NLS-1$
innerSelect.addSymbol(e1inner);
From innerFrom = new From();
GroupSymbol pm4g1 = new GroupSymbol("pm4.g1"); //$NON-NLS-1$
innerFrom.addGroup(pm4g1);
Query innerQuery = new Query();
innerQuery.setSelect(innerSelect);
innerQuery.setFrom(innerFrom);
//outer command
Select outerSelect = new Select();
ElementSymbol e1 = new ElementSymbol("e1"); //$NON-NLS-1$
outerSelect.addSymbol(e1);
From outerFrom = new From();
GroupSymbol pm1g1 = new GroupSymbol("pm1.g1"); //$NON-NLS-1$
outerFrom.addGroup(pm1g1);
ElementSymbol e2 = new ElementSymbol("e2"); //$NON-NLS-1$
SubquerySetCriteria crit = new SubquerySetCriteria(e2, innerQuery);