let's say i have table with this structure:
id model color
------ -------- ----------
1 Ford yellow
2 Ford green
3 Ford red
4 Ford yellow
5 Subaru yellow
6 Subaru red
I need to make a query, which returns me every car in list, except for yellow ford's. Can somebody help?
... WHERE NOT (model = 'Ford' AND color = 'yellow')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With