书上说别名在WHERE中不能使用,但我用select a.id from user as a where a.id='123'这样可以,可能你那种正是说的不行。