En aménageant l'espace,
nous construisons l'avenir


Erreur Mysql : Column 'nom' in order clause is ambiguous

Query : SELECT ville.id,ville.idSecteur,ville.nom,t0.id,t0.nom FROM ville LEFT JOIN secteur t0 ON ville.idSecteur=t0.id WHERE 1 ORDER BY nom ASC

#0  query(SELECT ville.id,ville.idSecteur,ville.nom,t0.id,t0.nom FROM ville LEFT JOIN secteur t0 ON ville.idSecteur=t0.id   WHERE 1 ORDER BY nom ASC, 1, ) called at [/home/projects/alter/prod/model/Ville.php:162]
#1  Model_Ville::Get(Array (), Array ([order] => nom ASC)) called at [/home/projects/alter/prod/controler/plandusite.php:6]
#2  include(/home/projects/alter/prod/controler/plandusite.php) called at [/home/projects/alter/prod/lib/include.php:54]
#3  template_getHTML(plandusite, , , Array ()) called at [/home/projects/alter/prod/lib/include.php:7]
#4  template_include(plandusite) called at [/home/projects/alter/prod/template/global.php:132]
#5  include(/home/projects/alter/prod/template/global.php) called at [/home/projects/alter/prod/lib/include.php:71]
#6  template_getHTML(global, , , Array ()) called at [/home/projects/alter/prod/lib/include.php:7]
#7  template_include(global) called at [/home/projects/alter/prod/www/application.php:165]