Bug 176963 Subquery's resultSetExpressions is not consistent between generate and present time.
In generate time, subquery will add the parent query's column binding to its own resultSetExpressions. While in present time, it only has the ones of itself.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
}
	
	/**
	 * 
	 */
	private void mappingParentColumnBinding( )
	{
		if ( baseQueryDefn instanceof ISubqueryDefinition )
		{
			Map parentBindings = baseQueryDefn.getParentQuery( ).getResultSetExpressions( );
			{
				Iterator it = parentBindings.keySet( ).iterator( );
				while ( it.hasNext( ) )
				{
					Object o = it.next( );
					IBaseExpression expr = (IBaseExpression)parentBindings.get( o );
					if ( expr instanceof IScriptExpression )
					{
						if (!ExpressionUtil.hasAggregation( ( (IScriptExpression) expr ).getText( ) ))
						{
							if ( baseQueryDefn.getResultSetExpressions( )
									.get( o ) == null )
							{	
								baseQueryDefn.getResultSetExpressions( )
										.put( o, copyScriptExpr( expr ) );
							}
						}
					}
				}
			}