Home > Database > Mysql Tutorial > body text

between and-mysql between...and 查询结果多于期望数据的问题

WBOY
Release: 2016-06-06 09:42:35
Original
1153 people have browsed it

mysqlbetween and

sql语句:
SELECT * FROM card where number between 'Z101010768' and 'Z101010772'
查询结果:
图片说明
其实我只是想查 'Z101010768' 'Z101010769' 'Z101010770' 'Z101010771' 'Z101010772'
这5个数据而已
请教怎么处理一下????

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template