sql - Using EXCEPT operator on MySql 5.1 version -
MySQL version is 5.1 on my server. I am trying to do this query:
SELECT FIX_Name to Word_DB WHERE Word_Name = ". $ Element." Choose File from Out of File_Name Files_DB = 0
I am getting an error:
Error: There is an error in your SQL syntax;
Can anyone tell me how can I do this query? I alternative form?
Thanks, Max.
As far as I know MySQL EXCEPT
does not support the operator. Try it instead:
SELECT FIX_Name FROM Word_DB WHERE Word_Name = ". $ Element." And file_Name (select Files_N from Files_B, where display = 0)
you either have a correlated not exist
or LEFT JOIN
You can use. As I have not used the MySQL, I can not say that what works best.
Comments
Post a Comment