distinct 去重复,group by 数据分组,仍是说拿起就用篇--2(嗯算是吧。)

<?php include('./Conf.php'); include('./CEMysql.class.php'); $DB = new CEMysql; $sql = 'select distinct fieldOne,fieldTwo from tableName group by fieldTwo'; $result = $DB -> query($sql); var
相关文章
相关标签/搜索