当前位置:
代码迷
>>
其他数据库
>> 联接两个表
详细解决方案
联接两个表
热度:
1152
发布时间:
2013-02-26 00:00:00.0
连接两个表
sqlite里面,
t1 有两个字段code ,name,t2 有两个字段 code,price
select code,price from t2 where t1.code=t2.code
为何没有结果?
------解决方案--------------------------------------------------------
select t2.code,t2.price from t2,t1 where t1.code=t2.code
相关解决方案