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

4 lines
100 B
SQL

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