Adding A Column After Another Within SQL (MySQL) - Skyvia

  • Home
  • Gallery
  • Adding a column after another within SQL (MySQL)
Adding a column after another within SQL (MySQL) The world's second most used open-source database. Skyvia supports MySQL, Percona, MariaDB servers. Learn how to add a column after another column to MySQL using Skyvia Query - online SQL query builder CREATE TABLE _test ( Id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, value varchar(255) DEFAULT NULL, PRIMARY KEY (Id) ); ALTER TABLE _test ADD COLUMN `count` SMALLINT(6) NOT NULL AFTER `value`, ADD COLUMN `log` VARCHAR(12) NOT NULL AFTER `count`, ADD COLUMN `status` INT(10) UNSIGNED NOT NULL AFTER `log`; Try executing query in your browser for freeTry this query

Run This and Other Queries Online in Skyvia Query

Skyvia Query allows you to run SQL queries against databases and cloud applications from web browser. Access and manage your data from anywhere, build reports, arrange your data in the most informative way and simplify your decision-making process easily!

Key Features

  • Ability to use SQL against cloud data
  • Visual query builder
  • Data export
  • Five free queries per day
Learn more about Skyvia Query banner

Tag » Add Column Mysql Query