Content deleted Content added
No edit summary |
m General Fixes using AWB |
||
Line 1:
{{
An '''alias''' is a feature of SQL that is supported by most, if not all, [[RDBMS|relational database management systems (RDBMSs)]]. Aliases provide [[database administrator]]s, as well as other database users, with the ability to reduce the amount of code required for a query, and to make queries generally simpler to understand. In addition, aliasing can be used as an [[
In SQL, you can alias both tables themselves, which is called a Correlation Name,<ref>ANSI Standard SQL - Foundation Document - Date: 2010-10-14</ref>
The general syntax of an alias is <code>SELECT * FROM table_name [AS] alias_name</code>. Note that the AS keyword is completely optional and is usually kept for readability purposes. Here is some sample data that the queries below will be referencing:
{| class="wikitable" style="text-align:center; float:left; margin-left:5px"
Line 47:
{{SQL}}
[[Category:SQL]]▼
==References==
{{Reflist}}
▲[[Category:SQL]]
|