2020年04月10日软件测试圈「每日进阶」
第14天作业 ,
1)查找idoxu表,成绩在80 - 100区间的学生 ;
select * from idoxu where grade between 80 and 100
between ... and ...表示在一个连续的范围内
2)查找istester表,id 为 2,11,12 的数据 ;
select * from istester where id in(2,11,12)
in表示在一个非连续的范围内
2020年04月10日软件测试圈「每日进阶」
第14天作业 ,
1)查找idoxu表,成绩在80 - 100区间的学生 ;
select * from idoxu where grade between 80 and 100
between ... and ...表示在一个连续的范围内
2)查找istester表,id 为 2,11,12 的数据 ;
select * from istester where id in(2,11,12)
in表示在一个非连续的范围内
本文标题:SQL语句21天打卡,第14天0410
本文链接:https://www.haomeiwen.com/subject/tulrmhtx.html
网友评论