Posts by Cristiano • 11 points
1 post
-
1
votes1
answer79
viewsQ: Use of two WITH
In the following sentence, where I have to correct? WITH ITEM AS (SELECT 1 COD, 'Tratam./Hormônio' NOME, 1 VENDA UNION ALL SELECT 2, 'Vacina', 1 UNION ALL SELECT 3, 'Nutricional', 2 UNION ALL SELECT…