Commit 060a85fa authored by arjen@co3064164-a.bitbike.com's avatar arjen@co3064164-a.bitbike.com
Browse files

Clarified "not allowing column alias in WHERE clause" explicitly in SELECT section.

parent 1b158f68
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31604,6 +31604,12 @@ mysql> select concat(last_name,', ',first_name) AS full_name
    from mytable ORDER BY full_name;
@end example
@item
It is not allowed to use a column alias in a @code{WHERE} clause,
because the column value may not yet be determined when the
@code{WHERE} clause is executed.
@xref{Problems with alias}.
@item
The @code{FROM table_references} clause indicates the tables from which to
retrieve rows.  If you name more than one table, you are performing a