解决方案 »
- Parse error: syntax error, unexpected T_STRING in D:\www\ITbdw\application\views
- 请教 include_once 或 include 或 require的问题
- 不知道为什么
- 在线编辑器,帮解决了给冲个QQ会员或黄钻。。急
- 如何用php创新的access数据库,并在其中建立一个表
- 求数组中的对应关系
- 100分求:PHP+MYSQL 下载系统,支持无限分类,用户管理,上传验证等...
- 这段连oracle代码那里错了!看出者给100分!
- 代码出错,请高手看看!
- 谁做过邮件定时发送的???
- 求不使用搜索框的方式网址累积叠加的方法
- PHP的substr函数如何完全模拟ASP的right函数
select * from company where city like '%北京%' and top like '北京' order by id desc union select * from company where city like '%北京%' and top not like '北京' order by id desc
select * from company where city like '%北京%' and top like '北京' order by id desc union select * from company where city like '%北京%' and top not like '北京' order by id desc
SELECT *
FROM test
WHERE city LIKE '%北京%'
ORDER BY (
top LIKE '%北京%'
) DESC , id DESC