SQL - AS Statement - 1keydata
SQL - AS Statement - 1keydata
SQL AS
Advanced SQL To find total sales by store using AS as part of the table and column alias, we type in:
SQL UNION
SQL UNION ALL SELECT A1.Store_Name Store, SUM(A1.Sales) AS "Total Sales"
SQL Inline View FROM Store_Information AS A1
SQL INTERSECT GROUP BY A1.Store_Name;
SQL MINUS
SQL LIMIT Result:
SQL TOP
SQL Subquery Store Total Sales
SQL EXISTS Los Angeles 1800
SQL CASE San Diego 250
SQL DECODE Boston 700
SQL AUTO INCREMENT
SQL IDENTITY Is there a difference between between using an alias without AS and with AS in SQL? The answer is no, there is no functio
SEQUENCE & NEXTVAL both versions will accomplish exactly the same thing. The use of AS is simply a more explicit way of mentioning the alias.
SQL Functions
Next: SQL SELECT UNIQUE
SQL Average
SQL COUNT
SQL MAX
SQL MIN
Google Web Hosting
Build Your Online Presence With Google Sites. Free 30Day Trial!
SQL SUM
SQL ROUND
String Functions
SQL CAST
Copyright © 2016 1keydata.com All Rights Reserved Privacy Policy About Contact
SQL CONVERT
SQL CONCATENATE
SQL SUBSTRING
SQL INSTR
SQL TRIM
http://www.1keydata.com/sql/sqlas.html 1/1