Tom,

> No, because it's not a bug.  The SELECT list is evaluated after HAVING,
> so what you are asking for is an impossibility in the SQL semantic
> model.
> 
> (Yeah, I know there's some laxity in GROUP BY ... one of our worse
> mistakes IMHO ...)

Oh.  I see what you mean.   Given that I (along with at least a dozen posters 
to the SQL list) was confused that our HAVING/ORDER BY will accept column 
aliases but not sub-select aliases, would this be worthy of a FAQ item?


-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to