add column to table

    0

    3

    lucycodes42

    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

    ALTER TABLE `table` ADD COLUMN `col_name` INT;
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.