常用SQL技巧汇总 常用SQL技巧汇总1. 指定整型,列宽度为3,不足补0 ? alter table {table} add column {column} int(4) zerofill 此时如果插入数据到{column}列为9,实际插入为0009;