帮帮忙
select
year,
semester,
sec_id,
case
when ID is null then "--"
ELSE ID
end,
case
when name is null then "--"
else name
end
from
section natural left outer join teaches natural left outer join instructor
where
year = 2018
and semester = "Spring";
消息 102,级别 15,状态 1,第 3 行
“)”附近有语法错误。
第三行括号有问题,你这sql不是都没括号么?确定是这个报错?