开发者

Should I use set-type for user's country info in MySQL?

开发者 https://www.devze.com 2023-01-31 00:16 出处:网络
Should I use set-type for user\'s country info in MySQL? Or, it is better to have an another table for that? It is going to be some kind of social network question an开发者_StackOverflow中文版swer thi

Should I use set-type for user's country info in MySQL? Or, it is better to have an another table for that? It is going to be some kind of social network question an开发者_StackOverflow中文版swer thing, thus, in every page will be displayed in every post, like 15 times in every page. Also, the departments will be set-type to, like stat, math, ceit, phys, ee...

Is set-type better than having separate tables for that?


You will want a separate table only if you will want to associate some information with countries, make some relations and so on.

0

精彩评论

暂无评论...
验证码 换一张
取 消