To add a default value to a column in MySQL, use the ALTER TABLE ... ALTER ... SET DEFAULT command: --Example: Products have a default stock of 0.
確定! 回上一頁