Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Why do some SQL Server examples have a letter and a period before the column name?

$
0
0

So I'm reading (very slowly) the Querying SQL Server 2012 Training Kit book from Microsoft Press. It's very good, but I'm progressing slowly. This may seem moronic, but I don't think the book explains a question I have:

What are the letters and periods that are before the column names that I see in some of the statement examples?

Take this one from page 154 of the book:

SELECT S.shipperid, S.companyname,
  COUNT(*) AS numorders
FROM Sales.Shippers AS S
  INNER JOIN Sales.Orders AS O
    ON S.shipperid = O.shipperid
GROUP BY S.shipperid, S.companyname;

It might explain this in the book, but I have no idea what the letter and period before the column name is supposed to represent. Can someone help?

Matthew



The Motley Tech - A Tech Tutorial/Commentary Blog http://themotleytech.wordpress.com


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>