有没有更快的方法在SQL中执行批量AS?

时间:2018-03-16 10:04:34

标签: sql-server tsql syntax ssms shortcut

只是想知道有没有这样做的捷径?

SELECT  CustomerID AS 'Customer ID',
        CustomerName AS 'Customer Name',
        CustomerAddress AS 'Customer Address',
        CustomerDOB AS 'Date of Birth',
        CustomerUsername AS 'Username',
        CustomerPassword AS 'Password'
FROM Customer

所以我不必输入整个CustomerIDCustomerName等等? 很抱歉提出这样的问题,我是一个完全的初学者,这次让我很好奇

0 个答案:

没有答案