Reputation: 1
Instead of table1 AS t1
, can I write table1 t1
?
So, is JOIN table1 t1 on table2.userid = t1.userid
?
Thanks
Upvotes: 0
Views: 39
Reputation: 94894
Yes. You could have looked that up yourself.
http://dev.mysql.com/doc/refman/5.7/en/select.html
tbl_name [[AS] alias] [index_hint]
Upvotes: 1