Bonjour,
Je souhaiterai imbriquer deux select, l'un pour récupérer des indicatifs qui correspondent à un critère dans la table T1 et l'autre pour récupérer des noms (dans la table T2) correspondant aux indicatifs récupérés précédemment.
Cette syntaxe fonction mais est extrêmement trop longue. Merci de votre aide
$query0 = mysql_query("SELECT DISTINCT lib_ag, ind_agence FROM structure WHERE ind_agence IN (SELECT DISTINCT AGENC FROM m41000 WHERE DRR='$indicatif' and LIBELLE_ACTION='$libelle') ORDER by DGA") or die (mysql_error());
Partager