我在网上下的一个源码 里面有个sql语句没看懂。
select top 4 id,picture,url_name,substring(title,0,15) as title from news_content where bigclassid='26' and picture<>'' order by times desc
这句什么意思呢?
select top 4 id,picture,url_name,substring(title,0,15) as title from news_content where bigclassid='26' and picture<>'' order by times desc
这句什么意思呢?
前面这段呢
致死把 title 截取了 15位而已 还是as title 了 根本没有用别名