有句sql不能执行

浏览:285 发布日期:2017/12/03 分类:求助交流
$third = db('thirdcata')->alias('t')->join('hb_second s','s.mark in '.$secondmarks.' and s.id = t.pid')->field('s.mark,count(t.pid)')->group('t.pid')->select();

$secondmarks不管是数组还是字符串都不行
最佳答案
评论( 相关
后面还有条评论,点击查看>>