You are here: union in from clause « MySQL Databases « IT news, forums, messages
union in from clause

Posted by clifden on 10/22/05 01:19

With mysql 4.1, could this is possible:

SELECT *
FROM
(
(
SELECT *
FROM a
WHERE (id1=0)
)
UNION
(
SELECT *
FROM a
WHERE (id2>1)
)
)
WHERE (id3>10)
ORDER BY id4

UNION syntax in a FROM clause don't seems to work... but without views,
how can this possible?

Thank you

 

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

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