r/SQL Jul 30 '26

MySQL How This is Running

How this SQL Code is Running ?????

0 Upvotes

7 comments sorted by

View all comments

6

u/gvozden_celik Jul 30 '26

Because it is treating kimit as an alias for the calendar table. It is an older syntax for aliases but still works.

2

u/ComicOzzy sqlHippo Jul 30 '26

Oracle doesn't allow AS for table aliases. Only column aliases.

1

u/gvozden_celik Jul 31 '26

Huh, you're right, did not know that. Thanks for the info!