PHP 初学者 MYSQL语句有个 地方很含糊
SELECTconcat(catPath,',',catID)ASabsPath,catID,catPath,catTitleFROM{$this->tblName}WH...
SELECT concat(catPath,',',catID) AS absPath, catID, catPath, catTitle
FROM {$this->tblName}
WHERE catPath = '$catPath' OR catPath LIKE '$absPath%'
ORDER BY absPath, catID ";
ORDER BY absPath, catID 这里是 先 按 照 absPath,再 按照catID 的顺序 吗? 展开
FROM {$this->tblName}
WHERE catPath = '$catPath' OR catPath LIKE '$absPath%'
ORDER BY absPath, catID ";
ORDER BY absPath, catID 这里是 先 按 照 absPath,再 按照catID 的顺序 吗? 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询