MySQL search criteria - column alias Dec12 '05

Feedback

# (1 of 2): Kristian

2 months, 1 week after the fact. (Tue 21 Feb 2006, 4:50 PM CST)

I totally agreed with you, until I remember the little used HAVING clause...
http://dev.mysql.com/doc/refman/5.0/en/problems-with-alias.html

# (2 of 2): Member

9 months, 2 weeks after the fact. (Thu 28 Sep 2006, 9:09 AM CST)

can we use alias column name is queries

Previous comment Return to entry

RSS feed for comments on this post

Leave feedback

Feedback

Input format: The editor controls below will assist with Markdown syntax.

Status

Sub-status

Your info

Return to entry.

In MySQL, you can’t use a column alias, as the result of an expression, as criteria for your query. You must specify the entire expression twice.

You are at the feedback permalink page for: MySQL search criteria - column alias

Read more...