diff --git a/print/templates/reports/previa-label/sql/sector.sql b/print/templates/reports/previa-label/sql/sector.sql index f86f90bdc..9ddac557e 100644 --- a/print/templates/reports/previa-label/sql/sector.sql +++ b/print/templates/reports/previa-label/sql/sector.sql @@ -1,7 +1,4 @@ -SELECT - `s`.`description` -FROM - `vn`.`saleGroup` sg +SELECT `s`.`description` +FROM `vn`.`saleGroup` sg JOIN `vn`.`sector` s ON `sg`.`sectorFk` = `s`.`id` -WHERE - `sg`.`id` = ? \ No newline at end of file +WHERE `sg`.`id` = ? \ No newline at end of file