A.select avg(price),type from book group by type B.select count(price),type from book group by price C.select avg(price),type from book group by price D.select count(price),type from book group by type
A.selec tright(’hello’,3)返回值為:hel B.selec tltrim(rtrim(’hello’))返回值為:hello(前后都無空格) C.selec treplace(’hello’,’e’,’o’)返回值為:hollo D.selec tlen(’hello’)返回值為:5
A.數(shù)據(jù)庫在磁盤上默認的存儲位置是:SQL Server安裝路徑\Microsoft SQL Server\MSSQL\Data B.一個數(shù)據(jù)庫至少應包含一個數(shù)據(jù)庫文件(*.mdf)和一個事務日志文件(*.ldf) C.只有當數(shù)據(jù)庫中不存在數(shù)據(jù)的情況下,才可以進行數(shù)據(jù)庫的收縮操作。 D.可以通過從A機器拷貝數(shù)據(jù)庫文件和事務日志文件至B機器,然后通過在B機器上執(zhí)行相應的附加數(shù)據(jù)庫操作,實現(xiàn)數(shù)據(jù)庫從A機器到B機器的復制。