Posts by Daniela Petruzalek • 121 points
1 post
-
2
votes2
answers614
viewsA: How to make a Select to not show reset result?
You can use the HAVING clause to filter aggregate values: SELECT COUNT(DISTINCT ROMANEIO) ROMANEIO FROM PCN_ROMANEIO_DISTR_ITEM WHERE USUARIO = 'junior' HAVING COUNT(DISTINCT ROMANEIO) > 0 UNION…