如何输出不匹配gif,jpg,bmp等字符串的SQL 想用SQL里面的正则输出,但找不到解决办法,帮个忙,谢谢啦 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 就是有很多链接http://community.csdn.net/Expert/topic/5474/5474432.xmlhttp://community.csdn.net/Expert/topic/5474/5474432.gifhttp://community.csdn.net/Expert/topic/5474/5474432.jpghttp://community.csdn.net/Expert/topic/5474/5474432.html....我想输出没有*.gif,*.jpg这些文件的连接,应该如何写这句SQL? 试试:select * from tablenamewhere columnname not regexp "\.[gif|jpg]$" 统计各状态条目数求助 多词一义的数据库查询和搜索 mysql忽略空的行降序排序 C++ 连接 mysql 有什么比较好用的库吗? windows2003服务器之mysql配置求助 MySQL 10的9次方 hibernate3.0与mysql5.0编码问题 在Postgresql表里,如果得到当前时间减去日期字段得到秒数 mysql写锁问题,贴出show status提示,谁帮我看看啊 About Mysql connect problem win98安装mysql的问题 今日起全面进军该版块........
http://community.csdn.net/Expert/topic/5474/5474432.xml
http://community.csdn.net/Expert/topic/5474/5474432.gif
http://community.csdn.net/Expert/topic/5474/5474432.jpg
http://community.csdn.net/Expert/topic/5474/5474432.html
....
我想输出没有*.gif,*.jpg这些文件的连接,应该如何写这句SQL?
select * from tablename
where columnname not regexp "\.[gif|jpg]$"