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
相關文章
相關標籤/搜索