Tags in a table for each?

0

I have the table "noticia" and I'm going to make a system of tags, these tags will have to have a table for each or just a table?

    
asked by anonymous 30.07.2017 / 18:13

1 answer

1

You do not need a table for each TAG, you only create another table with the tags and the news id as shown below. Another way is to create a column inside the news table where you can put tags separated by commas!

Noticia   | Tag
--------- | ------
Id        | Id
Desc      | IdNoticia
          | Tag 

    
30.07.2017 / 18:21