Et si je faisait AVEC ma modif...

This commit is contained in:
Alan Garcia 2013-11-06 09:41:56 +00:00
parent 1a9d69b702
commit a5f1b500c4
2 changed files with 16 additions and 6 deletions

View File

@ -671,7 +671,8 @@ select
distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`,
`m`.`mail` AS `alias` `m`.`mail` AS `alias`
from from
((`membres` `m` join `variable` `v`) join `domaines` `d`) `membres` `m`,
`variable` `v`
where where
`v`.`name` = 'mailname_bounce' `v`.`name` = 'mailname_bounce'
@ -682,10 +683,12 @@ select
distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, distinct concat('alterncpanel','@',`v`.`value`) AS `mail`,
`m`.`mail` AS `alias` `m`.`mail` AS `alias`
from from
((`membres` `m` join `variable` `v`) join `domaines` `d`) `membres` `m`,
`variable` `v`
where where
(`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000)
;
-- --
-- Structure de la table `piwik_users` -- Structure de la table `piwik_users`

View File

@ -27,7 +27,8 @@ select
distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`,
`m`.`mail` AS `alias` `m`.`mail` AS `alias`
from from
((`membres` `m` join `variable` `v`) join `domaines` `d`) `membres` `m`,
`variable` `v`
where where
`v`.`name` = 'mailname_bounce' `v`.`name` = 'mailname_bounce'
@ -38,7 +39,13 @@ select
distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, distinct concat('alterncpanel','@',`v`.`value`) AS `mail`,
`m`.`mail` AS `alias` `m`.`mail` AS `alias`
from from
((`membres` `m` join `variable` `v`) join `domaines` `d`) `membres` `m`,
`variable` `v`
where where
(`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000)
;