Ajuste query flash categoria
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1079,7 +1079,6 @@ where 1 = 0`,
|
||||
filhos AS (
|
||||
SELECT
|
||||
n.id_nodo,
|
||||
-- Altera��o cir�rgica: unifica o c�digo pelo nome apenas se n�o houver os filtros
|
||||
CASE
|
||||
WHEN p.cod_empresa IS NULL AND p.codigo_categoria_pai IS NULL THEN
|
||||
MIN(n.ID_NODO) OVER (PARTITION BY n.nome)
|
||||
|
||||
Reference in New Issue
Block a user