Home >Database >Mysql Tutorial >select-ibatis查出mysql数据库表中某字段为null的数据???怎么写动态sql

select-ibatis查出mysql数据库表中某字段为null的数据???怎么写动态sql

WBOY
WBOYOriginal
2016-06-06 09:34:411137browse

selectmysqlibatis数据库

例如 select * from test where name is null

图片说明

这条sql 中 IS NULL 报错,不知道ibatis里该怎么写???

Statement:
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