Try this
ALTER TABLE users
ADD COLUMN `count` SMALLINT(6) NOT NULL AFTER `lastname`,
ADD COLUMN `log` VARCHAR(12) NOT NULL AFTER `count`,
ADD COLUMN `status` INT(10) UNSIGNED NOT NULL AFTER `log`;
check the syntax
More Related Contents:
- add column to mysql table if it does not exist
- MySQL: ALTER TABLE if column not exists
- Can a number be used to name a MySQL table column?
- How can I modify the size of column in a MySQL table?
- Error renaming a column in MySQL
- ALTER TABLE to add a composite primary key
- How to add not null constraint to existing column in MySQL
- Alter MySQL table to add comments on columns
- Using ALTER to drop a column if it exists in MySQL
- Create an index on a huge MySQL production table without table locking
- MySQL: ALTER IGNORE TABLE ADD UNIQUE, what will be truncated?
- ALTER table – adding AUTOINCREMENT in MySQL
- How to change MySQL column definition?
- Alter table if exists or create if doesn’t
- `MODIFY COLUMN` vs `CHANGE COLUMN`
- How do I add more members to my ENUM-type column in MySQL?
- ALTER TABLE without locking the table?
- Optimizing MySQL for ALTER TABLE of InnoDB
- Default sort-ordering in MySQL (ALTER TABLE … ORDER BY …;)
- How to perform grouped ranking in MySQL
- MySQL “Group By” and “Order By”
- MySQL Query to select data from last week?
- Migrate from Oracle to MySQL
- #1139 – Got error ‘repetition-operator operand invalid’ from regexp
- MySQL Data Source not appearing in Visual Studio
- Advanced MySql Query: Update table with info from another table
- Why MySQL is giving error “Not allowed to return a result set from a function”?
- Where I can find a list of “mysqldump” exit codes?
- Execute INSERT if table is empty?
- MySQL data directory location