日期:2014-05-17  浏览次数:20651 次

从2个表里取数,2个表里的id和name要对应上,下面这样写对吗?
SQL code

select t1.* , t2.street, t2.city, t2.country from t_person t1,t_address t2 where t1.id = t2.no and t1.name= t2.xingming and t2.status='活着'



t2.street这报没有发现from keyword的错误

------解决方案--------------------
语法上没看出来 啥错误·~