drop table if exists news;
create table news(
id int primary key auto_increment,
title varchar(50) not null,
content longtext not null,
time date not null,
column2_id int unsigned not null,
count int unsigned,
status int not null
)
create table news(
id int primary key auto_increment,
title varchar(50) not null,
content longtext not null,
time date not null,
column2_id int unsigned not null,
count int unsigned,
status int not null
)
解决方案 »
- 如何用一条SQL查询Top10与其它的总和
- MySQL的SELECT INTO OUTFILE… 备份语句
- 如何在表中插入多行数据,数据id递增。
- 先左连接,后联合查询,报错,求助
- mysql 存储过程 运行错误
- 低版本mysql 不支持 嵌套 我这个语句 要怎么写? ------- 请老大们帮忙
- 求最好的linux+mysql视频教程,万分感谢~~!
- 一个有关日期计算的系列问题,应该比较难??在线等待
- 还是菜鸟的关于多表选择的问题,大虾们帮忙阿
- PreparedStatement如何让多条sql语句要么都执行要么都不执行
- 求一技巧性sql语句
- mysql6同步遇到[ERROR] Slave: Error 'Character set '#45'
-> id int primary key auto_increment,
-> title varchar(50) not null,
-> content longtext not null,
-> `time` date not null,
-> column2_id int unsigned not null,
-> `count` int unsigned,
-> status int not null
-> )
-> ;
Query OK, 0 rows affected (0.08 sec)mysql>
http://topic.csdn.net/u/20090501/15/7548d251-aec2-4975-a9bf-ca09a5551ba5.html