how to set default value in mysql select query code example Example: set default value mysql db ALTER TABLE mytbl ALTER j SET DEFAULT 1000;