You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This syntax also allows you to specify derived_column_list without an alias, which shouldn't be allowed according to the SQL standard. The syntax in the standard is:
<derived table> <correlation or recognition>
<correlation or recognition> ::=
[ AS ] <correlation name>
[ <parenthesized derived column list> ]
So, the alias is actually required for a derived table, and you should not be able to specify the derived column list without an alias. I'm not sure if it is worth fixing that as well, as it might break existing queries.
The current syntax for derived tables allows a dangling
AS
, which should not be allowed. For example:This is the result of the syntax:
I think the correct syntax should be:
The text was updated successfully, but these errors were encountered: