Ask Your Question
3

What does the error message "SyntaxException: line 4:0 no viable alternative at input ')' (....movies( id, videos,[)]...)" indicate when inserting into a table?

asked 2023-01-25 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-01-16 15:00:00 +0000

nofretete gravatar image

The error message indicates that there is a syntax error in the SQL query being executed. Specifically, in line 4, the input ')' is not a viable option, meaning that there could be a missing comma or an extra parenthesis in the query. The query is in the context of inserting data into a table called "movies" and has three columns: "id," "videos," and an unknown third column that likely had a syntax error.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-01-25 11:00:00 +0000

Seen: 8 times

Last updated: Jan 16 '22