ORA-00936: missing expression


I got ” ORA-00936: missing expression ” error in PL/SQL.



ORA-00936: missing expression


Details of error are as follows.

ORA-00936 missing expression

Cause: A required part of a clause or expression has been omitted. 
For example, a SELECT statement may have been entered without a list of columns or expressions
 or with an incomplete expression. This message is also issued in cases where a reserved word
 is misused, as in SELECT TABLE.

Action: Check the statement syntax and specify the missing component.




The ORA-00936: missing expression error is related with the missing of SQL statement syntax and omitted a part of the syntax.


missing expression

If you forget to use of FROM clause or Column names in your SELECT statement, you will get this error.

To solve this error, make sure your SQL Statement or SQL Syntax is written correctly.

Check your SQL Statement, if you use extra commas, then remove it if it shouldn’t be in your query.


Don’t forget * or From clause in Select statement as follows.

Example 1:

SELECT FROM Test_table; 
ORA-00936: missing expression

Example 2:
SELECT * Test_table; 
ORA-00936: missing expression


To solve this error, use * and  from in SQL Statement as follows.

select * from Test_table;


If you got this error in Update,insert or delete statement, make sure that you have used all the keywords that are required (UPDATE, SET, VALUES, WHERE and etc..)




Do you want to learn Oracle SQL, then read the following articles.

Oracle SQL Tutorials For Beginners – Learn Oracle SQL from scratch with Oracle SQL Online Course


 7,526 views last month,  1 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *