salix/print/templates/reports/previa-label/sql/sector.sql

7 lines
136 B
SQL

SELECT
`s`.`description`
FROM
`vn`.`saleGroup` sg
JOIN `vn`.`sector` s ON `sg`.`sectorFk` = `s`.`id`
WHERE
`sg`.`id` = ?