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

src: |
SELECT t_services_facturation.oid,
(t_services_facturation.code || ' '::text) || t_services_facturation.texte_court AS texte
FROM activite.t_services_facturation
WHERE (t_services_facturation.oid IN ( SELECT DISTINCT t_lieux_c.service_facturation_id
FROM activite.t_lieux_c
ORDER BY t_lieux_c.service_facturation_id))
ORDER BY t_services_facturation.texte_court;