sql实验(实验4至实验7的答案).pdfVIP

  • 18
  • 1
  • 约4.41千字
  • 约 5页
  • 2021-02-05 发布于湖南
  • 举报
SQL实验 实验 4 1 用 select 语句查询 departments 和 salary 表中的所有数据: . select salary .*, departments .* from salary , departments 2、查询 departments 中的 departmentid : select departmentid from departments go 3 、查询 salary 中的 income ,outcome : select income , outcome from salary go 4、查询 employees 表中的部门号,性别,要用 distinct 消除重复行: select distinct ( departmentid ), sex from employees 可编辑 word, 供参考版! 5、

文档评论(0)

1亿VIP精品文档

相关文档