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

前端 未结 9 1594
我在风中等你
我在风中等你 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:08

    There is no difference between both statements above. AS is just a more explicit way of mentioning the alias

提交回复
热议问题