12.07.2015 Views

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Aggregate FunctionsSELECT Sum(Salary) AS [Total Salary]FROM Employees;Note that the result of the Sum(Salary)expression is given the name “TotalSalary”. Otherwise the DB Engineassigns a name for us. AS is good <strong>to</strong> use!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!