Hi, I'm pretty novice in query design,
I'm trying to figure out how to get a query that returns me error in data input, by that I mean the following (for example):
I Have a table with the fields "Car maker", "Car model", "Car plate number" and "Car color".
Basically the Car model should hold a code that also represent the color of it, but Car Color is independently selected, so I could have mistakes.
meaning that if for car plate number 11-22-33 which is model SZK (K for black), the color Blue was selected by mistake.
I want a query that will return me every discrepancy between car model and car color. ( I mean that if there's one SZK blue and one SZK that is black, I want both to appear in the query)
Thanks in advance!
I'm trying to figure out how to get a query that returns me error in data input, by that I mean the following (for example):
I Have a table with the fields "Car maker", "Car model", "Car plate number" and "Car color".
Basically the Car model should hold a code that also represent the color of it, but Car Color is independently selected, so I could have mistakes.
meaning that if for car plate number 11-22-33 which is model SZK (K for black), the color Blue was selected by mistake.
I want a query that will return me every discrepancy between car model and car color. ( I mean that if there's one SZK blue and one SZK that is black, I want both to appear in the query)
Thanks in advance!