简体   繁体   中英

Oracle Homework - SQL Statement error

I am getting the error ORA-00936: missing expression on the following SQL statement:

SELECT || first_name || ' ' || last_name || AS "Possible Candidates"
from EMPLOYEES
WHERE LAST_NAME LIKE '%s';

I am trying to get the first name, last name and display them in a single column titled "Possible Candidates" where the last letter of the last name is "s".

Thanks!!

SELECT first_name || ' ' || last_name AS "Possible Candidates"
from EMPLOYEES
WHERE LAST_NAME LIKE '%s';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM