亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

數(shù)據(jù)庫(kù)設(shè)計(jì)

本教程展示一個(gè)是分類表,一個(gè)是新聞表

1,分類表的創(chuàng)建

表名:type

create table type(

id int(11) not null primary key auto_increment,

typename varchar(255) ,

orderid int(11) ,

fid int(11))

CHARSET=utf8;

微信圖片_20180306184322.png


2,新聞表的創(chuàng)建

表名:news

create table news(

id int(11) not null primary key auto_increment,

typeid int(11) not null ,

title varchar(255),

source varchar(255),

picurl varchar(255),

content text ,

posttime int(11))

CHARSET=utf8;

微信圖片_20180306185026.png

繼續(xù)學(xué)習(xí)
||
<?php echo "數(shù)據(jù)庫(kù)的設(shè)計(jì)";
提交重置代碼