标签:result where field
$result = M()->table(array(‘表1‘=>‘表1缩写‘,‘表2‘=>‘表2缩写‘))->field(‘表1缩写.字段1,表2缩写.字段2‘)->where(‘表2.wb_id=表1.id‘)->select()
本文出自 “枷罗博客” 博客,请务必保留此出处http://sun231013.blog.51cto.com/8558055/1626258
tp多表查询
原文地址:http://sun231013.blog.51cto.com/8558055/1626258