Question: MySQL, Can you get the sum of two columns in the same row? I have two columns in my table with numeric values. The table has over 1000 rows. I want to add the two number together per row. Do I need to set a varible?

Answer: Nope...try this...\nselect sum(field_A + field_B) from table_name
This question from the Yahoo Q&A forum is categorized in the topic: Entertainment & Music