What is the code for an equal function?
This values in this column and the values in this column and the values in this column all equal this column.
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.
Your question is a bit vague but I’ll assume you mean “How do you do this in SQL?”
Columns in the same table
If on the other hand you meant to compare the total values of columns 1, 2 and 3 to column4 it would look like:
You can learn a lot more about SQL’s syntax by taking a look at http://www.w3schools.com/sql