oracle - sql error ora-00933 sql command not properly ended delete -


i try delete data 3 tables, using join. have error :

 sql error: ora-00933: sql command not ended     00933. 00000 -  "sql command not ended" 

this query:

delete news join news_author on news_author.news_id=news.news_id join author  on news_author.author_id=author.author_id  news_id=16; 

how can solve problem?

can try this..

delete news news ns join news_author na on na.news_id=ns.news_id join author ar on na.author_id=ar.author_id  news_id=16; 

Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -