我收到错误ORA-00936:在以下SQL语句中缺少表达式:
SELECT || first_name || ' ' || last_name || AS "Possible Candidates"
from EMPLOYEES
WHERE LAST_NAME LIKE '%s';
我正在尝试获取名字和姓氏,并将其显示在一个名为“可能的候选人”的列中,其中姓氏的最后一个字母是“s”。
谢谢!
答案 0 :(得分:3)
SELECT first_name || ' ' || last_name AS "Possible Candidates"
from EMPLOYEES
WHERE LAST_NAME LIKE '%s';