Zathras, filipe26 pointed out his exclusion was meant to be similar to his tipo="Pijamas", not including it.
And McMerfy, I did mean to use OR. Consider the following records:
Code:
NOME TIPO
fi ca
fi xx
xx ca
xx xx
filipe26 said he wants a query to show everything except where nome='fi' AND tipo='ca'. That would mean the bottom three records in my example. Let's have a look at what your query would return. Obviously, the first one is excluded: correct. However, both the second and third ones will be excluded as well: incorrect.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.