Skip to content

Commit

Permalink
Update docu
Browse files Browse the repository at this point in the history
  • Loading branch information
wog48 committed Sep 28, 2023
1 parent b6faf7d commit 7ba4b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpa-tutorial/Questions/WhyGeZeroNotSupported.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SELECT
GROUP BY t1."CodePublisher", t1."ParentCodeID", t1."ParentDivisionCode"
HAVING (COUNT(t1."DivisionCode") = 0)))
----
the query would not restrict at all. The restriction has to be converted. Instead of using EXIST is is necessary to use NOT EXIST (4) together with a comparison to not equal zero (5):
the query would not find anything, as the sub-query does not return a result. The restriction has to be converted. Instead of using EXIST is is necessary to use NOT EXIST (4) together with a comparison to not equal zero (5):
[source,sql]
----
SELECT
Expand Down

0 comments on commit 7ba4b73

Please sign in to comment.