REM Query 8
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) = IN (‘FORD’, HONDA’, ‘NISSAN’, ‘SATURN’)
ORDER BY Make;
第3行的错误:
ORA-00936:缺少表达
不太确定我做错了什么
答案 0 :(得分:6)
我看到了两个问题:
=
你的撇号字符错了
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN ('FORD', 'HONDA', 'NISSAN', 'SATURN')
ORDER BY Make;
答案 1 :(得分:3)
试试这个:
REM Query 8
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN ('FORD', 'HONDA', 'NISSAN', 'SATURN')
ORDER BY Make;
答案 2 :(得分:0)
请进行如下语法修正
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN (‘FORD’, HONDA’, ‘NISSAN’, ‘SATURN’)
ORDER BY Make;