单项选择题
现有表book,字段:id(int),title(varchar),price(float);其中id字段设为标识,使用insert语句向book表中插入数据,以下语句错误的是()。
A.insert into book(id,title,price)values(1,’java’,100)
B.insert into book(title,price)values(’java’,100)
C.insert into book values(’java’,100)
D.insert book values(’java’,100)
点击查看答案&解析
相关考题
-
单项选择题
查找student表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码()。
A.SELECT telephone FROM student WHERE telephoneLIKE’[8,6]%0*’
B.SELECT telephone FROM student WHERE telephoneLIKE’(8,6)*0%’
C.SELECT telephone FROM student WHERE telephoneLIKE’[8,6]_0%’
D.SELECT telephone FROM student WHERE telephoneLIKE’[8,6]_0*’ -
单项选择题
以下()语句从表TABLE_NAME中提取前10条记录。
A.select*from TABLE_NAME where rowcount=10
B.selectTOP 10*from TABLE_NAME
C.selectTOPof 10*from TABLE_NAME
D.select*from TABLE_NAME wherer owcount<=10 -
多项选择题
Microsoft SQL Server2000在安装的时候就创建的示例用户数据库包括()。
A.Pubs
B.Master
C.Northwind
D.Msdb
