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

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計--圖書管理系統(tǒng)(更新版)

2024-07-24 01:18上一頁面

下一頁面
  

【正文】 lues(39。,30) insert into tb_booktype values(39。,39。,39。,39。,39。,39。,39。,39。,39。,1) ============================ 圖書信息表 ============================ CREATE TABLE tb_bookinfo ( b_id varchar(30) not null primary key, 圖書編號(條形碼) b_name varchar(30) not null, 圖書名稱 t_id int not null foreign key (t_id) references tb_booktype(t_id), 圖書類型 b_author varchar(30) not null, 圖書作者 b_translator varchar(30) null, 圖書翻譯者 b_pubName varchar(60) not null, 出版社 b_price money not null, 7 價格 b_page int null, 圖書頁數(shù) c_id varchar(30) not null foreign key (c_id) references tb_bookcase(c_id), 書架 b_storage int not null, 數(shù)量 b_time datetime not null, 入圖書館時間 b_borrownum int null, 借出總次數(shù) ) insert into tb_bookinfo values(39。,39。,1,39。,20,202112,3) insert into tb_bookinfo values(39。,39。,1,39。,20,202112,3) insert into tb_bookinfo values(39。,39。,5,39。,20,202112,3) ============================ 讀者信息表 ============================ CREATE TABLE tb_reader ( r_id varchar(30) not null primary key, 讀者編號 r_name varchar(50) not null, 讀者名字 r_sex char(2) not null, 性別 r_type int not null foreign key (r_type) references tb_readertype(rt_id), 讀者類型 r_birthday datetime not null, 出生日期 r_paperType varchar(20) not null, 證件類型 r_paperNum varchar(30) not null, 證件編號 r_tel char(13) not null, 電話號碼 8 r_ varchar(50) null, 郵箱 r_createDate datetime null, 創(chuàng)建日期 r_oper varchar(30) null, 別名 r_remark text null, 備注 r_borrownum int null, 當(dāng)前借閱數(shù)量 r_num int null 借閱數(shù)量記錄 ) insert into tb_reader values(39。,39。,39。,39。,39。,39。,39。,39。,39。,2,39。,39。,1,4) insert into tb_reader values(39。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。,getdate()) begin set day=day+1 set money=day*1 end select fare=money case函數(shù)獲取讀者年齡 select r_name,age= case when year(getDate()) year(r_birthday)=20 then 39。 10 datediff的使用 select r_name,age= case when datediff(year,r_birthday,getDate()) =20 then 39。 return y end select () ============================ SELECT查詢 ============================ 單表查詢 select * from tb_reader 讀者查詢 select * from tb_borrowandback 借還圖書查詢 select * from tb_bookinfo 圖書信息查詢 多表查詢 /*查詢讀者編號為 YY1212借閱圖書的信息圖書編號、圖書名字、圖書作者、出版社、價格*/ select ,b_name,b_author,b_translator,b_pubName,b_price from tb_reader,tb_borrowandback,tb_bookinfo where = and = and =39。9865
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1