You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
337 B

src: |
SELECT t_actes_c.oid,
(t_actes_c.code || ' '::text) || t_actes_c.texte_court AS texte
FROM activite.t_actes_c
WHERE t_actes_c.nomenclature = 'CCAM'::text AND (t_actes_c.oid IN ( SELECT p_oids.oid
FROM activite.p_oids
WHERE p_oids.code_table = 'acte_h'::text))
ORDER BY t_actes_c.code;