select a.*, b.CustomerType CustomerType1,c.ProductName ProductName1
from ClientInfo a
left join CustomerType b
on a.CustomerType = b.id
left join Product_teb c
on a.ProductName = c.id
同样的方法,顾客类型字型就没有问题,就是所购商品这里我折腾了很久也弄不出来作者: webyao 时间: 2014-2-11 15:46:49
webyao 发表于 2014-2-11 15:43
select a.*, b.CustomerType CustomerType1,c.ProductName ProductName1
from ClientInfo a
left join Cust ...