标签:
实现一条语句:
SELECT DISTINCT gs_provinceid from tsh_greenschool)
thinkphp:
$subquery=M(‘greenschool‘)->field(‘gs_provinceid‘)->group(‘gs_provinceid‘)->select(false);
thinkphp子查询
原文地址:http://www.cnblogs.com/panqingqiang/p/4271163.html