单选题
现有如下关系表:
职工(职工号,姓名,性别,年龄,职务,基本工资,职务津贴)
男职工(职工号,姓名,性别,年龄,基本工资)
要求将职工表中男职工的信息插入到男职工表中,以下SQL语句正确的是______。
- A.insert into男职工(职工号,姓名,性别,年龄,基本工资)values Select * from 职工
where性别='男'
- B.insert into 男职工 values Select * from 职工 where 性别='男'
- C.insert into 男职工 as (select 职工号,姓名,性别,年龄,基本工资 from 职工 where性别='男')
- D.insert into 男职工 select 职工号,姓名,性别,年龄,基本工资 from 职工 where性别='男'