原生态的select是这样,化成thinkPhP 应该怎样写where呢》

浏览:302 发布日期:2017/01/30 分类:求助交流
原来的select是

select z.*,J.birthday from zhiwu as z,jbxx as j where z.uid=j.uid and CONVERT(LEFT(j.birthday,4)<$year;

现在要用TP写,这里面的where应该怎么写呢?
最佳答案
评论( 相关
后面还有条评论,点击查看>>