Home > Database > Mysql Tutorial > body text

使用准则进行条件查询--1.5.常用的准则表达式

WBOY
Release: 2016-06-07 18:07:35
Original
908 people have browsed it

使用准则进行条件查询--1.5.常用的准则表达式


5.常用的准则表达式 在准则中输入的数据如果是日期,Access 将自动用 # 包围,如果是文本,将自动用 " 包围。 下面列出一些常用的表达式格式,供参考: 表达式 含义 符合条件的值 Between #95-1-1# And #96-2-1# 介于 95-1-1 和 96-2-1 之间 95-5-1,95-12-31 Not "王潇洒" 不是 王潇洒 王月亮,张美丽 >=10 大于等于 10 10.5,11,100 Year([运输日期])=1999 运输日期为1999年,不论几月几日 1999-1-10,1999-12-31 Is Not Null 不为空 "",0,(或任何值) Like "*国*" 字符串任何位置含有“国”字 张国庆,李爱国
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!