11 |
$reqmo['sql']="select dossier, |
$reqmo['sql']="select dossier, |
12 |
dossier, |
dossier, |
13 |
parcelle, |
parcelle, |
14 |
nature, |
dossier_autorisation_type_detaille.code as nature, |
15 |
pos, |
pos, |
16 |
sig |
sig |
17 |
from ".DB_PREFIXE."dossier |
from ".DB_PREFIXE."dossier |
18 |
where length( parcelle ) > 6 and nature = 'PC' and sig =''"; |
INNER JOIN ".DB_PREFIXE."dossier_autorisation |
19 |
|
ON dossier.dossier_autorisation=dossier_autorisation.dossier_autorisation |
20 |
|
INNER JOIN ".DB_PREFIXE."dossier_autorisation_type_detaille |
21 |
|
ON dossier_autorisation.dossier_autorisation_type_detaille = |
22 |
|
dossier_autorisation_type_detaille.dossier_autorisation_type_detaille |
23 |
|
INNER JOIN ".DB_PREFIXE."dossier_autorisation_type |
24 |
|
ON dossier_autorisation_type_detaille.dossier_autorisation_type = |
25 |
|
dossier_autorisation_type.dossier_autorisation_type |
26 |
|
where length( parcelle ) > 6 |
27 |
|
and dossier_autorisation_type.code = 'PC' |
28 |
|
and sig =''"; |
29 |
|
|
30 |
?> |
?> |