每当 GROUP BY 信息更改时,是否可以在执行查询时重复数据库表列的名称?我的查询按列分组。
SELECT name.fname as First_Name,
name.sales as Sales,
name.city as City
FROM name
GROUP BY city
ORDER BY name.fname;
每当 GROUP BY 信息更改时,是否可以在执行查询时重复数据库表列的名称?我的查询按列分组。
SELECT name.fname as First_Name,
name.sales as Sales,
name.city as City
FROM name
GROUP BY city
ORDER BY name.fname;