|  |  		select cInvCode,isnull(cFree1,'') as cColor,comcode as cCode,isnull(iSQuantity,iquantity) as iQuantity,iUnitCost as iPrice
 |  |  		select cInvCode,isnull(cFree1,'') as cColor,comcode as cCode,isnull(iSQuantity,iquantity) as iQuantity,iUnitCost as iPrice
 | 
											
												
													
														|  |  		and (cInvCode+isnull(cFree1,'')+isnull(cbatch,'') in (
 |  |  		and (cInvCode+isnull(cFree1,'')+isnull(cbatch,'') in (
 | 
											
												
													
														|  |  			select b.cinvcode+isnull(b.cfree1,'')+isnull(b.cbatch,'') from RdRecords01 b
 |  |  			select b.cinvcode+isnull(b.cfree1,'')+isnull(b.cbatch,'') from RdRecords01 b
 |