设B={a,c,e,f,g,h}删除字母e和h
A: Delete[B,{{3},{6}}]
B: Delete[B,3]; Delete[B,-1]
C: Delete[B,-4];Delete[B,6]
D: Delete[B,{3,6}]
A: Delete[B,{{3},{6}}]
B: Delete[B,3]; Delete[B,-1]
C: Delete[B,-4];Delete[B,6]
D: Delete[B,{3,6}]
举一反三
- 设B={a,c,e,f,g,h}删除字母e和h A: Delete[B,{{3},{6}}] B: Delete[B,3]; Delete[B,-1] C: Delete[B,-4];Delete[B,6] D: Delete[B,{3,6}]
- 设B={a,c,e,f,g,h}删除字母e和h A: Delete[B,{{3},{6}}] B: Delete[B,3]; Delete[B,-1] C: Delete[B,-4];Delete[B,6] D: Delete[B,{3,6}]
- 职工表中有字符型字段“职工号”,用SQL DELETE命令将以字母H开头的职工记录删除,正确的命令是( )。 A: DELETE FOR 职工号 LIKE “H%” B: DELETE WHILE 职工号 LIKE ”H%” C: DELETE WHERE 职工号=”H*” D: DELETE FROM 职工表 WHERE 职工号 LIKE “H%”
- 删除商品信息表Goods中的所有信息的语句() A: DELETE B: DELETE FROM C: DELETE FROM Goods D: DELETE DATABASE
- 在数据表employee中根据id删除员工信息,下列@Delete注解的写法正确的是()。 A: @Delete("delete from employee where id = ?") B: @Delete("delete from employee") C: @Delete( delete from employee where id = D: {id} ) E: 以上说法都不正确