First of all there's no SQL-Server 2003. Only 2000, 2005, 2008 (and then 2008R2, 2012 and the latest 2014).
As for the name - called alias - you can use AS
. This is the standard SQL syntax:
SELECT OwnerUserId, SUM(PostScore) AS PostScoreSum
INTO Experts
FROM ...
But AS
is optional, so you can also alias a column without it:
SELECT OwnerUserId, SUM(PostScore) PostScoreSum
INTO Experts
FROM ...
You can also use the (proprietary, only in SQL-Server) alias = column
syntax:
SELECT OwnerUserId, PostScoreSum = SUM(PostScore)
INTO Experts
FROM ...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…