mysql 数据表 查找 where and or

来源:互联网 发布:flash游戏源码 编辑:程序博客网 时间:2024/06/09 21:54

1. 数据表按条件查看 where

> select * from t_warn_storage where state=1;> select * from t_warn_storage where parameters="vcfs2";> select * from t_warn_storage where parameters="vcfs2" and state=1;

2. like 匹配 %通配符

> select * from t_warn_storage where  parameters like "vcfs3&core%";
原创粉丝点击