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

正文內(nèi)容

圖書管理系統(tǒng)數(shù)據(jù)庫設計mysql實現(xiàn)-資料下載頁

2025-04-07 23:05本頁面
  

【正文】 urn_date)。 delete from borrow where = stu_id and = book_id。 end if。 end實驗操作與結果顯示:學生1借了圖書2:超期產(chǎn)生了罰單,沒有交罰單,payoff=1:此時調(diào)用還書過程:call proc_return(1, 2, now())。提示交罰單:交罰單,調(diào)用proc_payoff:call proc_payoff(1, 2)。交罰單成功,payoff = 0;此時再次調(diào)用還書過程:call proc_return(1, 2, now())。還書成功,在return_table生成了還書紀錄:6. 交罰單存儲過程:修改罰單中payoff段為0,表明罰單已交:create procedure proc_payoff(in stuid int, in bookid int)begin update ticket set payoff = 0 where = stuid and = bookid。 select ‘succeed’。end交罰單,調(diào)用proc_payoff:call proc_payoff(1, 2)。交罰單成功,payoff = 0;功能實現(xiàn) 按各功能模塊進行描述。要求:畫出流程圖并給出實現(xiàn)代碼。l 創(chuàng)建學生統(tǒng)一賬戶,賬戶名:student_account,并且授予權限:sql:create user 39。student_account39。@39。localhost39。grant insert,select on student to 39。student_account39。@39。localhost39。grant select on book to 39。student_account39。@39。localhost39。grant insert,select on borrow to 39。student_account39。@39。localhost39。grant insert,select on return_table to 39。student_account39。@39。localhost39。grant select on ticket to 39。student_account39。@39。localhost39。l 創(chuàng)建管理員統(tǒng)一賬戶,賬戶名:manager_account, 并且授予全部權限:sql:create user 39。manager_account39。@39。localhost39。 identified by 39。12339。grant all on library_management to 39。manager_account39。@39。localhost39。l 查詢圖書信息按書名查找: select * from book where book_name = ‘sql’。按作者查找: select * from book where book_author = ‘a(chǎn)uthor’。l 借書功能: proc_borrow(in stu_id int, in book_id int, in borrow_date datetime)如果要接的書還在架上,并且學生的誠信級為1,那么可以借書call proc_borrow(1, 1, now())。命令行操作:表borrow:視圖stu_borrow:表book:l 還書功能: proc_return(in stu_id int, in book_id int, in return_date datetime)call proc_return(1, 1, now())。命令行操作:表return_table:表borrow:表book:l 交罰單功能:proc_payoff(in stuid int, in bookid int)call proc_payoff(1,1)。實驗操作和結果見上節(jié):“6. 交罰單存儲過程“l(fā) 管理員添加圖書:insert into bookvalues(…)。操作與結果:l 管理員刪除圖書:delete from bookwhere (condition)。l 管理員注銷學生信息:delete from studentwhere (condition)。l 管理員恢復學生的誠信級:update studentset stu_integrity=1where (condition)。學生借書歸還流程圖:管理員管理流程圖:數(shù)據(jù)庫設計結果:五、實習體會自己寫 THANKS !!!致力為企業(yè)和個人提供合同協(xié)議,策劃案計劃書,學習課件等等打造全網(wǎng)一站式需求歡迎您的下載,資料僅供參考可修改編輯
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1