I need help from you guys. I am trying to write some PHP and MySQL code for one of the arbi development, and I am getting error with the following statement:
SELECT * FROM mytable WHERE category='major' AND key='minor'
I think its such a simple SQL statement but I couldn't figure it out what's wrong with the above.
The error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key='minor'' at line 1
Need help. :bowdown:
SELECT * FROM mytable WHERE category='major' AND key='minor'
I think its such a simple SQL statement but I couldn't figure it out what's wrong with the above.
The error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key='minor'' at line 1
Need help. :bowdown: