Added support for subquery's alias syntax.

In mysql, subquery should be have specify alias.