今天考数据库,这是题目和我的答案![31]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 soaktech 的 blog

1)alter table orders

alter column received

   datetime not null

2)alter table orders

  constraint shipped1 unique(shipped)

  constraint shipped2 check(shipped = “” or shipped > received)

10.

1)      select pno

from part

where unitprice > 10 and unitprice <25

2) select ono,qty,billedprice

from invoice

where ono in (select ono

                 from orders

                 where received like "%1998")

compute sum(qty)

order by billedprice asc

3) select ono,pno,qty,billedprice

     from invoice

     where ono not in (select ono

                         from orders

本文关键:今天考数据库,这是题目和我的答案!
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top