sql 语句Unknown column 'visits' in 'order clause'
sql语句:$sql="selectt_id,t_titlefrom".$tab."orderbyvisitslimit13";selectt_id,t_titlefro...
sql 语句:$sql="select t_id,t_title from ".$tab." order by visits limit 13";
select t_id,t_title from t_t_01 order by visits limit 13
执行时报错:#1054 - Unknown column 'visits' in 'order clause' 展开
select t_id,t_title from t_t_01 order by visits limit 13
执行时报错:#1054 - Unknown column 'visits' in 'order clause' 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询