向“课程基本情况”表中添加一条课程信息,正确的SQL语句是()。
A: AddInto课程基本情况Values("k08004","Python",2,30,"王有为")
B: InsertInto课程基本情况Value(“k08004”,”Python”,2,30,”王有为”)
C: InsertInto课程基本情况Values(“k08004”,”Python”,2,30,”王有为”)
D: Insert课程基本情况Values(“k08004”,”Python”,2,30,”王有为”)
A: AddInto课程基本情况Values("k08004","Python",2,30,"王有为")
B: InsertInto课程基本情况Value(“k08004”,”Python”,2,30,”王有为”)
C: InsertInto课程基本情况Values(“k08004”,”Python”,2,30,”王有为”)
D: Insert课程基本情况Values(“k08004”,”Python”,2,30,”王有为”)
举一反三
- 删除“课程基本情况”表中,课程名为“Python”的记录,正确的SQL语句是( )。 A: Delete From 课程基本情况 Where 课程名=“Python B: Delete From 课程基本情况 Where 课程名=Python C: Delete 课程基本情况 Where 课程名=“Python D: Delete 课程基本情况 Where 课程名=Python
- 中国大学MOOC: 向“课程基本情况”表中添加一条课程信息,正确的SQL语句是( )。
- 删除“课程基本情况”表中,课程名为“Java”的记录,正确的SQL语句是( )。 A: Delete From 课程基本情况 Where 课程名=“Java " B: Delete From 课程基本情况 Where 课程名= Java C: Delete 课程基本情况 Where 课程名=“Java " D: Delete 课程基本情况 Where 课程名= Java
- 将“课程基本情况”表中,课程名为“java”的所有记录,“学分”字段的值修改为2,“学时”字段的值修改为32,对应的SQL语句为( )。 A: Update 课程基本情况 SET 学分=2,学时=32 Where 课程名=java B: Update 课程基本情况 SET 学分=2,学时=32 Where 课程名=java C: Update SET课程基本情况:学分=2,学时=32 Where 课程名= java D: Update 课程基本情况 SET 学分=2,学时=32 Where 课程名=java
- 从“课程基本情况表”表中将m08001号课去掉,正确的SQL语句是()。 A: DELETE FROM 课程基本情况表.课程号= m08001 B: DELETE FROM 课程基本情况表 WHERE m08001 C: DELETE FROM 课程基本情况表 WHERE 课程号='m08001' D: DELETE FROM 课程基本情况表 IF 课程号= m08001