S
S
Sailaubai Shyngys2016-02-26 21:54:41
MySQL
Sailaubai Shyngys, 2016-02-26 21:54:41

How to link one table cell to rows in another table?

Good evening experts! The problem is this. There is an activity table (production, sales, services, etc.) and a company table in which one column is the field of activity. One company can have several fields of activity. I can't figure out how to write keys from several rows of another table into one column? And then how do you make a selection? I will be grateful!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy Samoilenko, 2016-02-26
@samoilenkoevgeniy

Make a link table. company_id field of activity_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question