單項選擇題查找yuangong表中所有電話號碼(列名:telephone)的第一位為8或6,第三位為0的電話號碼()

A.SELECT telephone FROM yuangong WHERE telephone LIKE’[8,6]%0*’
B.SELECT telephone FROM yuangong WHERE telephone LIKE’(8,6)*0%’
C.SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0%’
D.SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0*’


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題為數(shù)據(jù)庫表創(chuàng)建索引的目的是()

A.提高查詢的檢索性能
B.創(chuàng)建唯一索引
C.與SQLServer數(shù)據(jù)檢索的速度無關(guān)
D.加快數(shù)據(jù)庫打開的速度

2.單項選擇題有關(guān)SQLSERVER 2008創(chuàng)建數(shù)據(jù)表的說法,以下正確的是()

A.數(shù)據(jù)庫對創(chuàng)建表的數(shù)量沒有限制
B.創(chuàng)建數(shù)據(jù)庫表示不能同時創(chuàng)建約束
C.創(chuàng)建數(shù)據(jù)庫表的同時創(chuàng)建主鍵,實際上是在創(chuàng)建表后對表進行修改
D.創(chuàng)建數(shù)據(jù)庫表的同時創(chuàng)建外鍵,實際上是在創(chuàng)建表后對表進行修改

3.單項選擇題在SQLServer數(shù)據(jù)庫中,HAVING和WHERE子句以及GROUPBY可以在同一SELECT語句中使用,其正確的先后順序為()

A.GROUP BY WHERE HAVING
B.WHE REGROUP BY HAVING
C.WHE REHAVING GROUP BY
D.HAVING WHERE GROUP BY

4.單項選擇題查詢student表中的所有非空email信息,以下語句正確的是()

A.Select email from student where email!=null
B.Select email from student where emailnotisnull
C.Select email from student where email<>null
D.Select email from student where emailisnotnull