You can't put column aliasas in the WHERE clause. Use a derived table instead: select make, num from ( select make,count(*) as num from ...
確定! 回上一頁