DarrenBoyer
IS-IT--Management
I work for a car dealership and we are trying to query our database to return a segment of customers who are likely to want to switch out their vehicle.
The goal is to get all previous Sunfire owners who have purchased a vehicle from 99-01 but exclude the Sunfire owners who have bought since 01. This sounds simple except when you have multiple purchaser's of Sunfire's, before 01 & after 01!
I tried looking at the Distinct fcn or Unique Values in the design grid but no matter how I worked with those they didn't seem to help.
I then thought about using a nested query but still couldn't seem to be able to put it all together. All the data is properly normalized it's just that I don't know what SQL fcn might be applicable. Any suggestions?
The goal is to get all previous Sunfire owners who have purchased a vehicle from 99-01 but exclude the Sunfire owners who have bought since 01. This sounds simple except when you have multiple purchaser's of Sunfire's, before 01 & after 01!
I tried looking at the Distinct fcn or Unique Values in the design grid but no matter how I worked with those they didn't seem to help.
I then thought about using a nested query but still couldn't seem to be able to put it all together. All the data is properly normalized it's just that I don't know what SQL fcn might be applicable. Any suggestions?