Is it 'SQL standard save' to use table alias names which do equal their table names?
Example:
I have a table aaa:
id -- 1 2 3
In MYSQL I run a query:
select aaa.* from aaa aaa,aaa bbb
which results in:
id -- 1 2 3 1 2 3 1 2 3
So it seems, that MYSQL sort of prioritizes alias referencing over table referencing, which I like. However as I saw lots of 'random' programming out there I am not sure, if this is by purpose or by accident. So would I get any kind of error in Oracle SQL, MS SQL,... for the same setup? Or is exactly that piece of MYSQL behaviour reasoned in any SQL standardization specification?
Btw. I know the example is stupid and the question seems to be stupid. It is not. Imagine one would like to implement a database centric framework which could simplify its aliasing rules by defining: Each table has a default alias which equals the table name.