我的表达式如下:
select case perName when "" then "" else "" end as temp from Info_PersonInfo limit 0,(13-10)
但老是提示 limit 后表达式有错误
select case perName when "" then "" else "" end as temp from Info_PersonInfo limit 0,(13-10)
但老是提示 limit 后表达式有错误
set @a=13-10;set @sql=concat('select case perName when "" then "" else "" end as temp from Info_PersonInfo limit 0, ', @a);prepare sqlstmt from @sql;EXECUTE sqlstmt;