• 2022-05-29
    下面用于查询student表中id值在1,2,3范围内的记录的SQL语句是( )。
    A: SELECT * FROM student WHERE id=1,2,3;
    B: SELECT * FROM student WHERE (id=1,id=2,id=3);
    C: SELECT * FROM student WHERE id in (1,2,3);
    D: SELECT * FROM student WHERE id in 1,2,3;