Encore moi avec une autre question.
J'utilise mysql version 5.0.
Une requête du type
(select col1,col2 from t1,t2 where condition1 )
union
(select col1,col2 from t1,t2 where condition2 )
order by champ_machin;
me renvoie
ERROR 1250 (42000): Table 't1' from one of the SELECTs cannot be used in
global ORDER clause
Or ceci est la syntaxe préconisée sur mysql.org.
Quelqu'un aurait-il une solution ou saurait-il où trouver plus
d'informations ? Sur le site mysql.com il y a bien quelques listes mais
en Allemange, au Danemark, etc. Rien de francophone.
Merci encore d'une aide.
--
Philippe
My computer is like a wigwam, no Windows, no Gates and an Apache inside
_______________________________________________
Liste de diffusion CarrefourBLinuX
[email protected]
http://lists.freearchive.org/mailman/listinfo/carrefourblinux
Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu
Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/
Archives : http://lists.freearchive.org/pipermail//carrefourblinux
Anciennes archives (Yahoogroupes) :
http://fr.groups.yahoo.com/group/carrefourblinux/messages
Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi
Pour s'inscire par courriel :
'mailto:[EMAIL PROTECTED]'
Pour se desinscrire par courriel :
'mailto:[EMAIL PROTECTED]'