TP里的关联查询

$res = $db->join('b on a.ex_id = b.pe_eid')->select();

注意:这里的表a、表b需要带表前缀

posted @ 2015-06-16 13:31  rickon  阅读(161)  评论(0编辑  收藏  举报