select gi_id,'出售' as bs_name,left(gi_title,30) as gi_title,'分类暂无' as ss_name,gi_price,gi_click,gi_date,gi_time
from t_goods_info
where ss_id is null and buyorsell='← 卖出'如何通过上述SQL语句实现gi_title字数>=30后,在后面添加上“...”?
解决方案 »
- 如何将网页已帖子的形式发到论坛中(100分)
- 新手第八问:VB.NET不用控件如何取数据库的数据?
- 百度文库的实现,求解!!!!!
- 如何用DropDownList控制TextBox的显示与隐藏???
- 如何使手上的asp.net 项目支持移动设备??
- 求一个查询统计该时间段值的问题
- 在DataList中嵌套GridView,如何实现对嵌套的GridView实现分页?
- 难题!关于SQL Server中图片数据的修改问题
- ASP.NET下运用Memcached建立大型WEB解决方案的运用
- asp.net mvc4界面复用的问题
- 谁能给推荐一个asp.net 2.0 三层架构的教程或者电子书?
- IIS7 URL重写配置 出错。
left(gi_title,30) as gi_title
吗?
from t_goods_info
where ss_id is null and buyorsell='← 卖出'
from t_goods_info
where ss_id is null and buyorsell='← 卖出'strlen()应该为len() 其他的都正确 ,谢谢各位