创建表
CREATE TABLE `t_cust` (
`id` int(11) NOT NULL,
`num` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
查询表中数据
select * from t_cust;
创建表
CREATE TABLE `t_cust` (
`id` int(11) NOT NULL,
`num` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
查询表中数据
select * from t_cust;