單項選擇題現(xiàn)有表book,字段:id(int),title(varchar),price(float);其中id字段設為標識,使用insert語句向book表中插入數(shù)據(jù),以下語句錯誤的是()。
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)
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題查找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*’
2.單項選擇題以下()語句從表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