Here is the problem:
I'm building a website which has hotel functions. In my database, there are 2 tables -- one is "hotels", and another is "roomTypes".
"hotels" has a column "room_types"
"roomTypes" has a column "typeID"
The idea is, one hotel may have several room types, but how do I store these typeIDs into "room_types" column?
I don't want to have columns like room_type1, room_type2, etc...
Whether foreign key can help me on this?