首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

请问一个有关问题。为什么

2012-02-14 
请教一个问题。为什么?descriptionofthestudentstable:sid_idnumberstart_datedateend_datedatewhichtwofun

请教一个问题。为什么?
description   of   the   students   table:

sid_id   number
start_date   date
end_date   date

which   two   function   are   valid   on   the   start_date   column?_________。

A.sum(start_date)
B.avg(start_date)
C.count(start_date)
D.avg(start_date,end_date)
E.min(start_date)
F.maximum(start_date)


[解决办法]
C,E
正确

which two function are valid on the start_date column?_________。

A.sum(start_date) --日期不能这样求和,dateadd()
B.avg(start_date) --日期也不能这样算平匀
C.count(start_date)--可以
D.avg(start_date,end_date)--没有这种用法
E.min(start_date)--正确
F.maximum(start_date)--maximum错误,max

热点排行
Bad Request.