Oracle实验六 PL/SQL程序设计

leoebi 109 0 PDF 2020-12-25 03:12:21

Oracle PL/SQL程序设计 实验六 实验内容 以bs用户登录BOOKSALES数据库,利用PL/SQL程序编写下列功能模块。 SQL>CONN bs/bs@booksales (1)创建一个函数,以客户号为参数,返回该客户订购图书的价格总额。 create or replace function sumprice( id customers.customer_id%type) return books.cost%type as sumprice books.cost%type; begin select sum(quantity*cost

用户评论
请输入评论内容
评分:
暂无评论