某公司现有职员信息表(employee)如下:
工号 id int 例如: 32454
姓名 name char(40) 例如: 姚明
性别 sex int 例如: 0, (0表示男, 1表示女)
入职时间 entrytime int 例如: 20110101
工作岗位 keypost int 例如: 研发
工作绩效 performance text 例如: S|A|B|C|B, (其中S>A>B>C)
关于下面查询语句,不正确的是:
找出最近连续两次绩效为C的员工: select * from employee where performance like "%C|C";
找出公司最新入职的10位员工 select id from employee order by entrytime desc limit 10;
统计出各个不同岗位中,女性员工的数量: select count(id) from employee where sex = 1 group by keypost;
按照各部门的人数由多到少进行排序: select count(id) as usercount,keypost from employee group by keypost order by usercount desc;
select * from employee where performance like "%C|C%";
A.select * from employee where performance like '%C|C%';
B.select id from employee order by entrytime desc limit 10;
C.select keypost ,count(id) from employee where sex = 1 group by keypost;