学生表中有学号、姓名、性别、入学成绩、身高字段。现需查询姓名中含有“娟”和“丽”字的学生信息正确的SQL语句是()

A.select * from 学生 where 姓名=”娟”or姓名=”丽” B.select * from 学生 where 姓名=”*娟*”or姓名=”*丽*” C.select * from 学生 where 姓名 like '*娟*'or 姓名 like '*丽*' D.select * from 学生 where 姓名 like ”娟” and 姓名=”丽”

时间:2023-03-11 10:34:31

相似题目