知識
不管是網(wǎng)站,軟件還是小程序,都要直接或間接能為您產(chǎn)生價值,我們在追求其視覺表現(xiàn)的同時,更側(cè)重于功能的便捷,營銷的便利,運(yùn)營的高效,讓網(wǎng)站成為營銷工具,讓軟件能切實(shí)提升企業(yè)內(nèi)部管理水平和效率。優(yōu)秀的程序?yàn)楹笃谏壧峁┍憬莸闹С郑?
項(xiàng)目案例:網(wǎng)上書店數(shù)據(jù)庫設(shè)計
發(fā)表時間:2019-9-24
發(fā)布人:葵宇科技
瀏覽次數(shù):52
項(xiàng)目案例:網(wǎng)上書店數(shù)據(jù)庫設(shè)計
CREATE TABLE `category` (
`cateid` int(20) NOT NULL AUTO_INCREMENT,
`catename` varchar(50) DEFAULT NULL,
PRIMARY KEY (`cateid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
CREATE TABLE `custmers` (
`custid` int(20) NOT NULL,
`custname` varchar(30) NOT NULL,
`loginpwd` varchar(64) NOT NULL,
`phone` varchar(20) NOT NULL,
`email` varchar(50) DEFAULT NULL,
`address` varchar(80) DEFAULT NULL,
`account` varchar(50) NOT NULL,
PRIMARY KEY (`custid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `goods` (
`goodsid` int(20) NOT NULL,
`title` varchar(50) NOT NULL,
`unitprice` decimal(20,0) NOT NULL,
`discount` varchar(20) DEFAULT NULL,
`cateid` int(20) DEFAULT NULL,
`storeid` int(20) DEFAULT NULL,
`roat` varchar(50) DEFAULT NULL,
`description` varchar(50) DEFAULT NULL,
`packingexpense` varchar(255) DEFAULT NULL,
PRIMARY KEY (`goodsid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `orderdetails` (
`orderid` int(20) NOT NULL,
`goodsid` int(20) NOT NULL,
`qty` int(20) NOT NULL,
`unitprice` decimal(20,0) NOT NULL,
PRIMARY KEY (`orderid`,`goodsid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `store` (
`storeid` int(20) NOT NULL AUTO_INCREMENT,
`storename` varchar(50) NOT NULL,
`address` varchar(50) DEFAULT NULL,
`personspending` int(20) DEFAULT NULL,
PRIMARY KEY (`storeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `orders` (
`orderid` int(11) NOT NULL AUTO_INCREMENT,
`doderno` varchar(255) NOT NULL,
`orderprice` decimal(10,0) DEFAULT NULL,
`orderdate` date DEFAULT NULL,
`custname` varchar(20) DEFAULT NULL,
`custphon` varchar(20) NOT NULL,
`custaddress` varchar(40) NOT NULL,
`zip` varchar(6) NOT NULL,
`invoicetitle` varchar(50) DEFAULT NULL,
`incoicecontent` varchar(20) DEFAULT NULL,
`orderstatus` varchar(255) DEFAULT NULL,
PRIMARY KEY (`orderid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
相關(guān)案例查看更多
相關(guān)閱讀
- 制作一個小程序
- 小程序公司
- 網(wǎng)站建設(shè)開發(fā)
- 報廢車管理系統(tǒng)
- 云南小程序制作
- 百度小程序公司
- 云南做網(wǎng)站
- 云南小程序開發(fā)
- 云南網(wǎng)站建設(shè)優(yōu)化
- 搜索引擎優(yōu)化
- 云南網(wǎng)站建設(shè)哪家公司好
- 云南網(wǎng)絡(luò)推廣
- 云南小程序開發(fā)公司推薦
- 云南網(wǎng)站建設(shè)電話
- 云南電商網(wǎng)站建設(shè)
- 報廢車管理
- 網(wǎng)站建設(shè)公司網(wǎng)站
- 云南做軟件
- 云南省建設(shè)廳網(wǎng)站官網(wǎng)
- 關(guān)鍵詞快速排名
- 網(wǎng)站建設(shè)首頁
- 云南小程序開發(fā)公司
- 報廢車拆解軟件
- 網(wǎng)站排名
- 百度人工排名
- 云南網(wǎng)站建設(shè)專業(yè)品牌
- 南通小程序制作公司
- 云南網(wǎng)絡(luò)公司
- 區(qū)塊鏈
- 云南小程序開發(fā)課程