select *,(select username from b where b.acctid=a.acctid) as acctuser from a 这样是可以查到 ,并且也好用。多了一个我自定的acctuser的字段.但是 如果b.acctid不是 数字类型 是字符select *,(select username from b where b.acctid='a.acctid') as acctuser from a 'a.acctid' 就不好使....怎么办.哪位知道....如果b.acctid 是字符 .怎么用 a.acctid 数字 和他对比
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货