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
325 B

src: |
SELECT t_prestations.oid,
(t_prestations.code || ' '::text) || t_prestations.texte_court AS texte
FROM activite.t_prestations
WHERE (t_prestations.oid IN ( SELECT p_oids.oid
FROM activite.p_oids
WHERE p_oids.code_table = 'prestation_h'::text))
ORDER BY t_prestations.code;