What's the purpose of SQL keyword “AS”?

前端 未结 9 1658
我在风中等你
我在风中等你 2020-11-30 20:37

You can set table aliases in SQL typing the identifier right after the table name.

SELECT * FROM table t1;

You can even use the keyword

9条回答
  •  天涯浪人
    2020-11-30 21:05

    It's a formal way of specifying a correlation name for an entity so that you can address it easily in another part of the query.

提交回复
热议问题