日期:2014-05-20 浏览次数:20835 次
SELECT oi.*,oi2.order_number FROM order_items oi
LEFT JOIN order_info oi2 ON oi.order_id = oi2.order_id
WHERE oi.order_id IN (xxxxxxx)
var q = from a in order_items
join b in order_info on a.orderid equals b.orderid into b_join
from bb in b_join.DefaultIfEmpty()
select new{
bb.order_number
}