The documentation for referencing models and saved questions in SQL queries (https://www.metabase.com/docs/latest/questions/sql-editor/referencing-models-and-saved-questions.html) does not mention that an alias is required when selecting from a model or saved question.
I've tested this with both PostgreSQL and MS SQL Server. The following query fails:
SELECT * FROM {{#1-events}}
However, the following query succeeds:
SELECT * FROM {{#1-events}} AS x
The documentation should be updated to clearly state that an alias is mandatory when referencing models or saved questions in this way. This is crucial information for users trying to leverage this feature. Without the alias, queries will fail, leading to confusion and frustration.