MySQL Forums
Forum List  »  Newbie

help with tables design
Posted by: Pavel Savostin
Date: February 28, 2015 10:11PM

Hi everyone. Sorry for my not perfect english:(

Can you advise me how to design tables in certain situation like next:

I have a table with "cars" and cars have a field made_date(YEAR)

Now i need implement filter table where i will be filtering this cars by made_date. Fox example i looking for cars 2000 2003 2010 and so on...

So I thinking, make another table with all years and make many to many relation with filter table, or make years field in filter table with type TEXT and comma separate years what looking for by certain filter in WHERE IN condition...

How the best choose? What you advise to me? Many thanks!

Options: ReplyQuote


Subject
Written By
Posted
help with tables design
February 28, 2015 10:11PM
March 02, 2015 06:14AM
March 02, 2015 05:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.