• 2022-06-16
    查找学生表student中姓名的第二个字为“t”的学生学号sno和姓名sname,下面SQL语句正确的是()。
    A: SELECT sno, sname FROM student WHERE sname='_t%';
    B: SELECT sno, sname FROM student WHERE sname LIKE '_t%';
    C: SELECT sno, sname FROM student WHERE sname='%t_';
    D: SELECT sno, sname FROM student WHERE sname LIKE '%t_';
  • 举一反三