Is there any reason to worry about the column order in a table?

前端 未结 14 1000
执念已碎
执念已碎 2020-11-28 17:49

I know you can ALTER the column order in MySQL with FIRST and AFTER, but why would you want to bother? Since good queries explicitly name columns when inserting data, is the

14条回答
  •  野性不改
    2020-11-28 18:24

    If you're going to be using UNION a lot, it makes matching columns easier if you have a convention about their ordering.

提交回复
热议问题