create table `test`.`article_0` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine =
myisam character set utf8 collate utf8_general_ci
create table `test`.`article_1` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_2` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_3` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_4` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_5` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_6` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_7` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_8` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
create table `test`.`article_9` (
`id` bigint( 20 ) not null ,
`subject` varchar( 200 ) not null ,
`content` text not null ,
primary key ( `id` )
) engine = myisam character set utf8 collate utf8_general_ci
当需要查询时,可以只对article这个表进行操作就可以了,即这个表仅仅只能进行select操作,那么对于插入也就是insert操作应该如何来搞呢,首先就是获取唯一的id了,这里需要一个表来专门创建id,代码: