查询student表中id值在2和7之间的学生姓名,应该使用关键字
举一反三
- 查询student表中id值在2和7之间的学生姓名,应该使用关键字 A: BETWEENAND B: IN C: LIKE D: OR
- 查询学生信息表student和中相关简单信息。(1)查询课程表subject所有在学期ID(gradeId)为1课程名称(subjectName)(2)查询学生信息表student所有在学期ID(gradeId)为2的所有男同学(sex)的姓名(studentName)和住址(address)(3)查询学生信息表student无电子邮件(email)的学生姓名(studentName)和年级信息(gradeID)
- 1.查询学生信息表student和课程表subject中相关简单信息。(1)查询学生信息表student所有在学期ID(gradeId)为1的全部学生信息。(2)查询学生信息表student所有在学期ID(gradeId)为2的全部学生的姓名(studentName)和电话(phone)。(3)查询学生信息表student所有在学期ID(gradeId)为1的全部女同学(sex)的信息。(4)查询课程表subject中课时(classHour)超过60的课程信息。2.查询学生信息表student和中相关简单信息。(1)查询课程表subject所有在学期ID(gradeId)为1课程名称(subjectName)(2)查询学生信息表student所有在学期ID(gradeId)为2的所有男同学(sex)的姓名(studentName)和住址(address)(3)查询学生信息表student无电子邮件(email)的学生姓名(studentName)和年级信息(gradeID)
- 下面选项中,查询student表中id值不在2和5之间的学生的SQL语句是 A: SELECT * FROM student where id!=2,3,4,5; B: SELECT * FROM student where id not between 5 and 2; C: SELECT * FROM student where id not between 2 and 5; D: SELECT * FROM student where id not in 2,3,4,5;
- 下面选项中,查询student表中id值不在2和5之间的学生,其中正确的SQL语句是() A: SELECT * FROM student where id!=2,3,4,5; B: SELECT * FROM student where id not between 5 and 2; C: SELECT * FROM student where id not between 2 and 5; D: SELECT * FROM student where id not in 2,3,4,5;