数据库原理实践卷答案.docVIP

  • 11
  • 0
  • 约1.41万字
  • 约 13页
  • 2016-10-04 发布于贵州
  • 举报
数据库原理实践卷答案

《数据库系统原理》实践模拟卷参考答案 建库(略)(5分) 2、建表。(15分) Create Table 商品(商品号char(8) not null, 商品名char(15) not null, 单价real not null check(单价0), 商品类别char(10) not null, 供应商char(10), primary key(商品号));Create Table 顾客(顾客号char(8) not null, 姓名char(15) not null, 住址char(8), primary key(顾客号));Create Table 购买(编号int not null, 顾客号char(8) not null, 商品号char(8) not null, 购买数量int not null check(购买数量=1 and 购买数量=20),

文档评论(0)

1亿VIP精品文档

相关文档