A primary key column cannot contain NULL values. It means that you have to declare the primary key column with NOT NULL attribute. If you don’t, MySQL will force the primary key column as NOT NULL implicitly.
คอลัมน์คีย์หลักไม่สามารถมีค่าเป็นศูนย์ ก็หมายความว่าคุณต้องประกาศคอลัมน์คีย์หลักที่มีคุณลักษณะไม่เป็นโมฆะ หากคุณไม่ได้, MySQL จะบังคับคอลัมน์คีย์หลักเป็นโมฆะโดยปริยายไม่