ALTER TABLE `table` ADD COLUMN `col_name` INT;

      Sql language logo
      add column to table

      SQL public snippets

      This code will add a new column to the table named "User Input 2" that stores an integer and a not null column to store the value of that integer.

      Shortcut: s_alter_add

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.