1、模糊查询like
特点:
使用like查询时,字段中的内容并不一定与查询内容完全匹配,只要字段中还有某些内容即可

2、between查询
特点:把某一字段中的值在特定范围内的记录查询出来,通常用于日期与值类型的查询

3、in查询
特点:把某一字段中内容与所列出的查询内容列表匹配的记录查询出来

1、模糊查询like
特点:
使用like查询时,字段中的内容并不一定与查询内容完全匹配,只要字段中还有某些内容即可
2、between查询
特点:把某一字段中的值在特定范围内的记录查询出来,通常用于日期与值类型的查询
3、in查询
特点:把某一字段中内容与所列出的查询内容列表匹配的记录查询出来
本文标题:四、常用数据查询—/2、模糊查询
本文链接:https://www.haomeiwen.com/subject/mbqtwqtx.html
网友评论