How to use alias in LEFT JOIN with alasql? #1932
|
This simple query works fine in MySQL, but fails in AlaSQL - why? The error code from AlaSQL is (shortened for readability): Tried it with AlaSQL versions 4.3.1 and 3.0.0. |
Answered by
arnemorken
Jun 5, 2024
Replies: 2 comments
|
Appearantly, "temp" is a reserved keyword in AlaSQL (though it's not mentioned anywhere). When I switch "temp" with "tmp", everything works as expected. Go figure! |
0 replies
Answer selected by
arnemorken
|
Hmmm. You are right. I dont know why TEMP is reserved. I dont think its normal SQL syntax. I will avoid breaking compatibility and instead add it to the documentation. Thank you for letting the world know. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Appearantly, "temp" is a reserved keyword in AlaSQL (though it's not mentioned anywhere). When I switch "temp" with "tmp", everything works as expected. Go figure!