You are here: MySQL 3.x and SELECT / WHERE « PHP Language « IT news, forums, messages
MySQL 3.x and SELECT / WHERE

Posted by lallous on 04/04/07 14:39

Hello

I have a small MySQL query like this:

[code]
SELECT
CONCAT(users.description, ' ', users.address) AS x
FROM
users
WHERE
x LIKE '%something_to_match_here%'

[/code]

MySQL 3.x is complaining about complaining about the use of "x" saying
that it is not a valid column name. Is there is a way to make this
work or something similar?

--
Elias

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация