So I think the thing that's misleading here is our docs -- you're
aliasing the table just fine, but you don't need to use the alias,
just like you didn't need the original table name. So
SELECT foo FROM mytable
is the same as
SELECT foo FROM mytable AS myalias
in that neither needs the alias name. The primary place that aliases
are needed is in dealing with JOIN and/or subselects, where you need
to provide a name for some intermediate table. Would it have been more
clear if the docs suggested that aliasing wasn't needed for "most"
queries, and gave an example of where you needed them?
--
-cc