Home > Database > Mysql Tutorial > body text

mysql的一些操作_MySQL

WBOY
Release: 2016-06-01 13:06:37
Original
1061 people have browsed it

1.查询日期为某一天的字段(不计时分秒)       do_sub_time是datetime类型


SQL:

SELECT * FROM `zlzq`.`job_do` where do_sub_time >= '20140709' and do_sub_time <br><br><p><img src="http://img.bitscn.com/upimg/allimg/c140719/1405K4635K0-15J5.jpg" alt=""></p><p><br></p><p><br></p>
    
Copy after login
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!