freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)據(jù)庫(kù)課程設(shè)計(jì)報(bào)告-手機(jī)銷(xiāo)售管理信息系統(tǒng)的設(shè)計(jì)(編輯修改稿)

2024-10-14 02:51 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 t 標(biāo)識(shí),自動(dòng)編號(hào),主鍵 用戶名 nvarchar 字段大小為 10 密碼 nvarchar 字段大小為 100 由于個(gè)數(shù)據(jù)表之間有一定的關(guān)系,例如, sell 表中的業(yè)務(wù)員編號(hào)應(yīng)屬于employee 表中的員工編號(hào),因此還需要建立各個(gè)數(shù)據(jù)表之間的關(guān)系。單機(jī)數(shù)據(jù)庫(kù)下的“關(guān)系圖” — “新建數(shù)據(jù)庫(kù)關(guān)系圖”菜單,即可進(jìn)入各表關(guān)系設(shè)計(jì)。最后各個(gè)表的關(guān)系如 圖所示 : . SQL 命令語(yǔ)句實(shí)現(xiàn)相關(guān)功能 經(jīng)過(guò)前面的系統(tǒng)需求分析和概念結(jié)構(gòu)設(shè)計(jì)以后,得到數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)?,F(xiàn)在就可以在 SQL Sever 2020 數(shù)據(jù)庫(kù)系統(tǒng)中,實(shí)現(xiàn)上面設(shè)計(jì)的數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)。這 11 一步是利用數(shù)據(jù)庫(kù)系統(tǒng)中的查詢分析器實(shí)現(xiàn)的。下面給出穿件這些表格的主要SQL 語(yǔ)句。 sellsystem1 Create database sellsystem1 on primary ( name=39。SellSystem_Data39。, filename=39。e:\39。, size=2mb, maxsize=unlimited, filegrowth=10%) log on ( name=39。SellSystem_Data_log39。, filename=39。e:\39。, size=2mb, maxsize=unlimited, filegrowth=10%) go use sellsystem1 create table [userdb] ([商品編號(hào) ][int]identity(1,1) not null primary key, [用戶名 ] [nvarchar](10) null, [密碼 ] [nvarchar](10) null, ) Go 用戶表的創(chuàng)建視圖為: select * from userdb use sellsystem1 create table [employee] ([員工編號(hào) ][int]identity(1,1) not null primary key, [員工姓名 ] [nvarchar](10) null, [員工電話 ] [nvarchar](20) null, [員工地址 ] [nvarchar](100) null, ) Go 員工表的創(chuàng)建視圖為: select * from employee 12 userdb use sellsystem1 create table [usedb] ([商品編號(hào) ][int]identity(1,1) not null primary key, [用戶名 ] [nvarchar](10) null, [密碼 ] [nvarchar](10) null,) go 工基本信息表格 employee use sellsystem1 create table [employee] ([員工編號(hào) ][int]identity(1,1) not null primary key, [員工姓名 ] [nvarchar](10) null, [員工電話 ] [nvarchar](20) null, [員工地址 ] [nvarchar](100) null, )go manufacturer use sellsystem1 create table [manufacturer] ([廠商編號(hào) ] int identity (1,1) not null primary key, [廠商名稱(chēng) ] [nvarchar](20) null , [法人代表 ] [nvarchar](10) null , [電話 ] [nvarchar](20) null, [廠商地址 ] [nvarchar](100) null, ) Go 進(jìn)貨廠商表創(chuàng)建視圖為: select * from manufacturer goods use sellsystem1 create table [goods] ([商品編號(hào) ][int]identity(1,1) not null primary key, 13 [生產(chǎn)廠商 ] [nvarchar](20) null, [商品名 ] [nvarchar](20) null, [型號(hào) ] [nvarchar](20) null, [單價(jià) ] [money] null default(0), [數(shù)量 ] [numeric](10,0) null default(0), [總金額 ] [money] null, [進(jìn)貨年 ] [smallint] null default(datepart(year,getdate())), [進(jìn)貨月 ] [smallint] null default(datepart(year,getdate())), [進(jìn)貨日 ] [smallint] null default(datepart(day,getdate())), [業(yè)務(wù)員編號(hào) ] [int] null, ) Go 現(xiàn)存貨表創(chuàng)建視圖為: select * from goods sell use sellsystem1 create table [sell] ([商品編號(hào) ] [int]identity(1,1) not null primary key , [生產(chǎn)廠商 ] [nvarchar](20) null, [商品名 ] [nvarchar](50) null, [型號(hào) ] [nvarchar](20) null, [單價(jià) ] [money] null default(0), [數(shù)量 ] int null default(0), [總金額 ] [money] null default(0), [售貨年 ] [smallint] null default(datepart(year,getdate())), [售貨月 ] [smallint] null default(datepart(year,getdate())), [售貨日 ] [smallint] null default(datepart(day,getdate())), [業(yè)務(wù)員編號(hào) ] [int] null, ) Go 已銷(xiāo)售商品表創(chuàng)建視圖為: select * from sell retreat create table [retreat] 14 ([退貨編號(hào) ][int]identity(1,1) not null primary key , [廠商
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1