CREATE TABLE posts
(post_id int(8) unsigned NOT NULL AUTO_INCREMENT,PRIMARY KEY(post_id),
post_user_id int(8) unsigned,
post_date int(10) unsigned,
post_url varchar(100),
post_title varchar(100),
post_end_date int(10) unsigned,
post_slogan varchar(10),
post_content varchar,
post_status char(1))
倒数第二个字段 没有给长度 改成post_content varchar(10),
创建表,create table “表名”(_id intencer primary key aotoincrement not null,name varchar(20),age varchar(10));