SQL Database with variable number of columns

前端 未结 4 914
再見小時候
再見小時候 2021-01-24 22:38

I have a newbie question about a database I am trying to create. I have a list of publications, with this general order:

UID, Author, URL, Title, Publication, start page

4条回答
  •  佛祖请我去吃肉
    2021-01-24 23:11

    You should create author table which is many-to-many relation with the publication table

    Author have some information and publication also have informaiton

    so should have tables like author and publication both have primary key like author_id and pblication_id and both key having many-to-many relationship

提交回复
热议问题