HTML5技术

一个小时学会MySQL数据库 - 张果(7)

字号+ 作者:H5之家 来源:H5之家 2017-03-09 17:01 我要评论( )

Address; ArticleComment; ArticleType; Articles; DictSub; DictTop; OrderPdt; Orders; ProductComment; Products; Users; Address(`AddressId` auto_increment comment ,`UserId` comment ,`Province` ,`City` ,

Address; ArticleComment; ArticleType; Articles; DictSub; DictTop; OrderPdt; Orders; ProductComment; Products; Users; Address ( `AddressId` auto_increment comment , `UserId` comment , `Province` , `City` , `County` , `Street` , `RevName` , `PostCode` , `Mobile` , `Phone` , `IsDefault` bool comment , primary key (AddressId) ); ; ArticleComment ( `ArticleCommentId` auto_increment comment , `ArticleId` comment , `UserId` comment , `ArticleCommentContent` , `ArticleCommentDate` comment , `ArticleCommentState` comment , `ArticleRemark` , `ArticleCommentReserver1` , `ArticleCommentReserver2` , primary key (ArticleCommentId) ); ; ArticleType ( `ArticleTypeId` auto_increment comment , `ArticleTypeName` , `ArticleTypeState` comment , `ArticleTypeDesc` , `ArticleTypePicture` , `ArticleTypeReserve1` , `ArticleTypeReserve2` , primary key (ArticleTypeId) ); ; Articles ( `ArticleId` auto_increment comment , `ArticleTypeId` comment , `ArticleTitle` , `ArticleContent` , `ArticleDate` comment , `ArticleAuthor` , `ArticleFileName` , `ArticleThumbNail` , `ArticleAddition` , `ArticleLevel` , `ArticleIsAllowComment` comment , `ArticleState` comment , `ArticleHotCount` , `ArticleReserve1` , `ArticleReserve2` , `ArticleReserve3` numeric(, primary key (ArticleId) ); ; DictSub ( `SubId` auto_increment comment , `DictId` comment , `SubName` , `SubDesc` , `SubReserve1` , primary key (SubId) ); ; DictTop ( `DictId` auto_increment comment , `DictName` , `DictDesc` , `DictReserve1` , primary key (DictId) ); ; OrderPdt ( `OrderPdtId` auto_increment comment , `Id` comment , `UserId` comment , `OrderId` , `PdtAmount` , `PdtPrice` , `PdtReserve1` , `PdtReserve2` , primary key (OrderPdtId) ); ; Orders ( `OrderId` auto_increment comment , `AddressId` comment , `OrderState` comment , `ExpressNO` , `ExpressName` , `PayMoney` , `PayedMoney` , `SendInfo` , `BuyDate` comment , `PayDate` , `SendDate` , `ReceivDate` , `OrderMessage` , `UserId` , `OrderReserve1` , `OrderReserve2` , `OrderReserve3` , primary key (OrderId) ); ; ProductComment ( `ProductCommentId` auto_increment comment , `ProductId` comment , `UserId` comment , `ProductCommentContent` , `ProductCommentDate` comment , `ProductCommentState` , `ProductCommentRemark` , `ProductCommentReserve1` , `ProductCommentReserve2` , primary key (ProductCommentId) ); ; Products ( `Id` auto_increment comment , `Name` , `SubIdColor` comment , `SubIdBrand` comment , `SubIdInlay` comment , `SubIdMoral` comment , `SubIdMaterial` comment , `SubIdTopLevel` comment , `MarketPrice` , `MyPrice` comment , `Discount` comment , `Picture` , `Amount` , `Description` , `State` comment , `AddDate` comment , `Hang` , `RawStone` , `Size` , `ExpressageName` , `Expressage` , `AllowComment` comment , `Reserve1` , `Reserve2` , `Reserve3` , primary key (Id) ); ; Users ( `UserId` auto_increment comment , `UserName` , `Password` , `Email` , `Sex` , `State` comment , `RightCode` , `RegDate` comment , `RegIP` , `LastLoginDate` , `UserReserve1` , `UserReserve2` , `UserReserve3` , primary key (UserId) ); ; FK_AddressBelongUser foreign key (UserId) ; FK_ArticleCommentForArticle foreign key (ArticleId) ; FK_ArticleCommentForUser foreign key (UserId) ; FK_ArticleBelongType foreign key (ArticleTypeId) ; FK_BelongDict foreign key (DictId) ; FK_BelongOrder foreign key (OrderId) ; FK_CartForUser foreign key (UserId) ; FK_OrderDepProduct foreign key (Id) ; FK_OrderBelongAddress foreign key (AddressId) ; FK_ProductCommentBelongUsers foreign key (UserId) ; FK_ProductCommentForProduct foreign key (ProductId) ; FK_BelongBrand foreign key (SubIdMaterial) ; FK_BelongColor foreign key (SubIdBrand) ; FK_BelongInlay foreign key (SubIdInlay) ; FK_BelongMaterial foreign key (SubIdColor) ; FK_BelongMoral foreign key (SubIdTopLevel) ; FK_BelongTopLevel foreign key (SubIdMoral) ;

六、下载程序、帮助、视频

MySQL绿色版下载地址1:https://pan.baidu.com/s/1hrS5KUw 密码: sug9

MySQL绿色版下载地址2:

MySQL文档下载1:https://pan.baidu.com/s/1nuGQo57 密码: 898h

MySQL文档下载2:

MySQL5.5.27_64位安装包下载地址1: https://pan.baidu.com/s/1minwz1m 密码: ispn

MySQL5.5.27_64位安装包下载地址2: 

MySQL5.7.17安装包官网下载地址: https://dev.mysql.com/downloads/windows/installer/

文档中没有您可以查帮助:

 

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

相关文章
  • 用DapperExtensions和反射来实现一个通用搜索 - yt1983

    用DapperExtensions和反射来实现一个通用搜索 - yt1983

    2017-03-09 08:00

  • [前言] 实现一个Android电子书阅读APP - xfangs

    [前言] 实现一个Android电子书阅读APP - xfangs

    2017-03-04 09:03

  • 我问我自己,你究竟想成为一个什么样的人? - Felix_ICanFixIt

    我问我自己,你究竟想成为一个什么样的人? - Felix_ICanFixIt

    2017-03-01 08:00

  • SuperWebClient -一个基于CURL的.NET HTTP/HTTPS模拟神组件(1) - ByteWorke

    SuperWebClient -一个基于CURL的.NET HTTP/HTTPS模拟神组件(1) - B

    2017-02-28 12:01

网友点评
a