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.
 
 

16 lines
523 B

src: |
SELECT t_ages_c.oid AS age_id,
t_ages_c.code AS age_code,
t_ages_c.texte AS age_texte,
t_ages_c.section_id AS age_section_id,
t_ages_c.section_code AS age_section_code,
t_ages_c.section_texte AS age_section_texte
FROM activite.t_ages_c
UNION
SELECT (-1) AS age_id,
'999'::text AS age_code,
'Non disponible'::text AS age_texte,
NULL::bigint[] AS age_section_id,
NULL::text[] AS age_section_code,
NULL::text[] AS age_section_texte
ORDER BY 1;