倒 , 这个语句的确很有趣,呵呵这样不就可以了
select BBSid,Fatherid,Menuid,BBSTopic,AddDt,isTop,Emails,BelongToCus,StateValue,Priority,uploadDir,LastPost,child,click,ip_addr from bbs where Emails like '%[email protected]%'
select BBSid,Fatherid,Menuid,BBSTopic,AddDt,isTop,Emails,BelongToCus,StateValue,Priority,uploadDir,LastPost,child,click,ip_addr from bbs where Emails like '%[email protected]%'
解决方案 »
- 如何获取mysql中上一次执行的SQL语句?
- 如何用Powerdesigner自动生成向数据库中批量插入数据的代码啊?
- mysl 动态sql
- 想在mysql的基础上做一个dbms,但源码看得很头大,那位兄弟有开发文档啊?
- 请教各位,有一数据表中的字段有部分为中文,偶现在要把所有中文的替换掉怎么办?
- 关于MYSQL的两个问题,高手们请给点提示
- 关于两列数据合并
- mysql会自动停止,mysql进程仍然存在,但/mysql/mysql.sock会丢失。
- 为什么我建表的第一个字段不能延长长度?(肯定是简单间题,但我不会)
- case when判断日期长度
- 请告知哪里有access转换成mysql的工具,最好是注册版的
- 难道这是MYSQL的BUG吗?谁能解决给100分,立刻!
select a1,a2 from a,b where a1=b1 and b2 like '%helloworld%'
select BBSid,Fatherid,Menuid,BBSTopic from bbs where BBSid in (select Fatherid from bbs where Emails like '%[email protected]%')改写成mysql应该是怎么样的
LEFT JOIN bbs b2 on b1.BBSid=b2.Fatherid
WHERE b2.Emails like '%[email protected]%'