代码改变世界

hql exists inner join

2011-02-19 23:22  2323  阅读(375)  评论(0)    收藏  举报

from PromotionClientEntity as pc where exists

(

from PromotionClientVoucherEntity as pcv

where pcv.PromotionClient=pc and pcv.HasAssigned=0

)