Struggling with the MINUS operator
Hi ! Here is the query I ran : sql> SELECT s,o FROM "prop_XXX" MINUS SELECT s,o FROM "class_XXX" ; and here is the error I got : syntax error, unexpected SELECT, expecting SCOLON in: "select s,o from "prop_XXX" minus select" Did I missed something ? best regards,
Hi !
I found the answer. I fact, the right way to write the query is using EXCEPT instead of MINUS
sql> SELECT s,o FROM "prop_XXX" EXCEPT SELECT s,o FROM "class_XXX" ;
A+
----- Mail original -----
De: "Leon-Constantin Fopa"
participants (1)
-
Leon-Constantin Fopa