我正在尝试做:
select
case when exists (id) then id else 'n/a' end as id
from mytable
where id="35";
但我有一些错误或其他弹出。我做错了什么,或者这只是不可行?
check the manual that corresponds to your MySQL server version for the right syntax to use near 'id) then id else 'n/a' end as id from mytable where id="35"' at line 2 */