Giventhefollowingtabledefinitions: EMPLOYEE IDNAMEDEPTID 01Smith10 02Bossy20 0320 Peterson 04Goss30 05Pape40 06Avery50 07O'Neal60 08Carter50 DEPARTMENTIDDEPTNAME 05Hardware10Kitchen20Shoes30Toys40Electronics50Automotiveandthefollowingquery:SELECTe.id,d.deptnameFROMemployeee,departmentdWHEREe.deptid=d.idANDe.id>4 Whichofthefollowingquerieswillproducethesameresultsetasthequeryabove?()
A: SELECTe.id,d.deptnameFROMemployeee,departmentdWHEREe.id>4
B: SELECTe.id,d.deptnameFROMemployeeeINNERJOINdepartmentdONe.deptid=d.idWHEREe.id>4
C: SELECTe.id,d.deptnameFROMemployeeeFULLOUTERJOINdepartmentdONe.id=d.idWHEREe.id>4
D: SELECTe.id,d.deptnameFROMemployeeeLEFTOUTERJOINdepartmentdONe.deptid=d.idWHEREe.id>4UNIONALLSELECTe.id,d.deptnameFROMemployeeeRIGHTOUTERJOINdepartmentdONe.deptid=d.idWHEREe.id>4
A: SELECTe.id,d.deptnameFROMemployeee,departmentdWHEREe.id>4
B: SELECTe.id,d.deptnameFROMemployeeeINNERJOINdepartmentdONe.deptid=d.idWHEREe.id>4
C: SELECTe.id,d.deptnameFROMemployeeeFULLOUTERJOINdepartmentdONe.id=d.idWHEREe.id>4
D: SELECTe.id,d.deptnameFROMemployeeeLEFTOUTERJOINdepartmentdONe.deptid=d.idWHEREe.id>4UNIONALLSELECTe.id,d.deptnameFROMemployeeeRIGHTOUTERJOINdepartmentdONe.deptid=d.idWHEREe.id>4
举一反三
- 删除表teacher(id,name,gender,birthday,score)中id为4的老师( ) A: delete from teacher; B: delete from teacher where id = 4; C: delete teacher where id = 4; D: drop from teacher where id = 4;
- 关于id选择器使用方法正确的是() A: #id B: id C: $id D: &id
- Use the following code to answer the following questions: int id = 0; cout [< "ID: "; cin ]> id; if (id == 1) cout << "Janet"; else if (id == 2 || id == 3) cout << "Mark"; else if (id == 4) cout << "Jerry"; else cout << "Sue"; (1) The above code display ____when the id variable contains the number 2? (2) The above code display ____when the id variable contains the number 4? (3) The above code display ____when the id variable contains the number 3? (4) The above code display ____when the id variable contains the number 8
- 执行语句“a,b=1,1”后,以下结论正确的是( )。 A: id(a)、id(b)、id(1)各不相等 B: id(a)=id(b),但不同于id(1) C: id(a)=id(1),但不同于id(b) D: id(a)、id(b)、id(1)均相等
- jquery中id选择器的正确写法是? A: $(".id") B: $("#id") C: $("id") D: $("+id")