I dont know how I don’t know this but I don’t,
If I have:
SELECT value1 + value2 as total from myTable;
And I wanted to do something like:
SELECT * FROM myTable IF(value1 + value2 == 10);
What the exact syntax for this?
TIA
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SELECT * FROM myTable WHERE value1 + value2 = 10