I'm having a really hard time trying to figure out how to make the following search:
"Find the sellers specialized in selling cars of the year (They can only sell cars produced during a specific year, example 2010).
The tables I have are:
Seller: {Seller_Id, Name, City_Residence}
Business: {Car_Id,Seller_Id,Year_car_Produced, Business_Date, Price}
Car: {Car_Id, Model, Brand, Country, Table_Price}
I was thinking about doing a DISTINCT for the Year_car_Produced but that doesn't mean the Seller couldn't sell cars in different years. I would only get the different cars he sold per year.
Can someone help me?
I'd really appreciate it.