Websitetemplate.org

Welcome > MySQL > MySQL: Create Table

MySQL: Create Table

$ mysql
> CREATE TABLE mytable (
    count int(10) unsigned NOT NULL auto_increment,
    contract varchar(5) NOT NULL default '',
    PRIMARY KEY (count),
    KEY contract_idx (contract)
) TYPE=MyISAM;

Content Copyright 2003-2014 George Toft