Is the result of these two queries the same?
Select MIN(create_time) a, accounts FROM table1
... and ...
Select MIN(create_time) AS a, accounts FROM table1
Is the result of these two queries the same?
Select MIN(create_time) a, accounts FROM table1
... and ...
Select MIN(create_time) AS a, accounts FROM table1
Yes, it is the same.
Also, if your alias is ever composed out of more words, then you should use it between double quotes.
Like this :
Select MIN(create_time) "MINIMUM TIME", accounts FROM table1
A I have said, this version is also equivalent:
Select MIN(create_time) AS "MINIMUM TIME", accounts FROM table1