LoginSignup
0
0

More than 1 year has passed since last update.

SQL | AS works even if it is not

Last updated at Posted at 2019-04-16

The following are both the same.

A world with AS

 SELECT 'Alice' AS alice, 'Bob' AS bob ; 

A world without AS

 SELECT 'Alice' alice, 'Bob' bob ; 

result

 +-------+-----+ | alice | bob | +-------+-----+ | Alice | Bob | +-------+-----+ 

environment

  • mysql Ver 14.14 Distrib 5.7.12, for osx 10.11 (x86_64) using EditLine wrapper

Original by

SQL | AS は実はなくても動く

About

About this translattion

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0