Today, when a migration project, found a sql error, but exactly the same as before the statement with migration, so wanted to be caused by differences in mysql version.
Migrating the previous version: 5.6.28 (Tencent cloud)
After migration Version: 8.0.16 (Ali cloud)
The new version Example:
Use "of" Alias:
Do not use "of" Alias: