REM Query 8
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) = IN (‘FORD’, HONDA’, ‘NISSAN’, ‘SATURN’)
ORDER BY Make;
第 3 行的错误:
ORA-00936: 缺少表达式
不太确定我做错了什么
你有两个我看到的问题:
=
之前的 IN你的撇号是错误的
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN ('FORD', 'HONDA', 'NISSAN', 'SATURN')
ORDER BY Make;
尝试这个:
REM Query 8
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN ('FORD', 'HONDA', 'NISSAN', 'SATURN')
ORDER BY Make;
请进行语法更正如下
SELECT Make, Model, Engine, Transmission
FROM Auto
WHERE Upper(Make) IN (‘FORD’, HONDA’, ‘NISSAN’, ‘SATURN’)
ORDER BY Make;