A. SELECT * FROM employees where salary > (SELECT MIN(salary) FROM employees GROUP BY department _ id);
B. SELECT * FROM employees WHERE salary = (SELECT AVG(salary) FROM employees GROUP BY department _ id);
C. SELECT distinct department_id FROM employees Where salary > ANY (SELECT AVG(salary) FROM employees GROUP BY department _ id);
D. SELECT department_id FROM employees WHERE SALARY > ALL (SELECT AVG(salary) FROM employees GROUP BY department _ id);
E. SELECT last_name FROM employees Where salary > ANY (SELECT MAX(salary) FROM employees GROUP BY department _ id);
F. SELECT department_id FROM employees WHERE salary > ALL (SELECT AVG(salary) FROM employees GROUP BY ANG (SALARY));
第1题:
有以下程序}
struct s
{ int x,y; } data[2]={10,100,20,200};}
main( )}
{ struct s *p=data;}
printf("%d\n",++(p->x));}
程序运行后的输出结果是
A.10
B.11
C.20
D.21
第2题:
有以下程序 struct s {int x,y;}data[2]={10,100,20,200}; main() { struct s*p=data; printf("%d\n",++(p->x)); } 程序运行后的输出结果是
A.10
B.11
C.20
D.21
第3题:
有以下程序 struct s { int x,y; } data[2]={10,100,20,200}; main() struct s *p=data; printf("%d\n",++(p->x)); 程序运行后的输出结果是
A.10
B.11
C.20
D.21
第4题:
在SQL Server 2000中,现要在employees表的first_name和last_name列上建立一个唯一的非聚集复合索引,其中first_name列数据的重复率是5%,last_name列数据的重复率是10%。请补全下列语句使以first_name和last_name列作为条件的查询效率最高。
CREATE UNIQUE NONCLUSTERED INDEX Idx_Name
ON employees(______)
第5题:
有以下程序: struct s { int x,y;) data[2]={10,100,20,200); main() { struct s *p=data; printf("%d\n",++(p->x)); } 程序运行后的输出结果是( )。
A.10
B.11
C.20
D.21
第6题: