赤红风暴漫画消息:sql 排序问题 在线等答

来源:百度文库 编辑:高校问答 时间:2024/05/08 06:18:00
如何实现根据数字大小排序的阿?
我用Select id,subject,leixing,lydate,myhits From guest order by myhits desc,结果是9比1大,所以9比10大,即只根据高位排序,如何根据实际大小排序阿

你的 myhits 必须是 int 型的!不能是字符型