应该使用一个数据表还是多个数据表?
数据表 地区 歌手,想问下那个方案更合理
方案一: 只有一个歌手表里面有地区地段 ;
id:1 singer:林俊杰 area:新加坡 age:22 Introduction:1981年3月27日出生于新加坡,
方案二:;
singer表
id:1 name:林俊杰 area_id:1 age_id:1 Introduction_id:1
area 表
id:1 name:新加坡
age 表
id:1 name:22
Introduction
id:1 name:1981年3月27日出生于新加坡,
模板内会使用 地区 作为搜索条件,我该如何选择方案几?数据会有很多条以及为什么该这样选择呢?谢谢
推荐文章: