Skip to content
Advertisement

Trouble With SQL Query in Python

Hello I’m getting an error: near “join”: syntax error. Is there an obvious issue with this that I’m not picking up on? I’ve changed names in the query but I’ve gone over and checked for spelling errors already.

JavaScript

Advertisement

Answer

In SQL, the order of clauses is SELECT, FROM, JOIN, WHERE. You have JOIN in the wrong place.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement