Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN
- SELECT * FROM
- ( SELECT count(*) as quantidade, CD_Estoque, CD_Produto
- FROM EstoqueItem GROUP BY CD_Estoque, CD_Produto ) as SomaItens
- WHERE quantidade > 1;
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement