java.sql.SQLException: ORA-00923: FROM keyword not found where expected

private final static String SELECT_DOMAIN_PhoneNumber = "select e.USERNAME,d.DOMAINNAME,p.phone_number"
   + " from email_users e,domain d,philippines_user_mapping p "
   + " where e.USERID=? and e.DOMAINID=d.domainid and p.user_id = e.username";
 

由于需要修改了SQL,却抛java.sql.SQLException: ORA-00923: FROM keyword not found where expected。

怎么看也看不出来SQL那里错了,在SQL/Developer里面执行也对。后来找同事一看,哈哈

from前面没空格,由于SQL长,写成多行,哎,低级错误啊

你可能感兴趣的:(java.sql.SQLException: ORA-00923: FROM keyword not found where expected)