Difference between two table structure

后端 未结 3 660

I am very confuse about the two structure. What are the advantage and disadvantage of this two table? Which one is better and why?

TABLE1<

3条回答
  •  温柔的废话
    2020-11-30 14:44

    in second case (table2) this is complex and take much time to find data when we make query for it. this case is used when you don't know about number of columns or they are varies, if you have fixed length of columns then used first case(table1) because in this case data find fast way.

提交回复
热议问题