IntroductiontoDatabase教学幻灯片讲义.pptVIP

  • 7
  • 0
  • 约2.96万字
  • 约 80页
  • 2018-02-27 发布于天津
  • 举报
3-* 3.8.1 Derived Relations派生关系 Find the average account balance of those branches where the average account balance is greater than $500 select branch-name, avg-balance from (select branch-name, avg (balance) from account group by branch-name) as result (branch-name, avg-balance) where avg-balance 500 Note: result: is a derived relations, a temporary (view) relation the attributes of result can be used directly in the where clause. Please include this query in EX 3. account 3-* 3.8.2 The with Clause with clause: (introduced in SQL:1999) create view clause crates a

文档评论(0)

1亿VIP精品文档

相关文档