How to use sum function in where clause in mysql?



How to use sum function in where clause in mysql?..

Answer / Vikrant Kumar Gond

"To use the SUM function within a WHERE clause in MySQL, you can write it like this: SELECT SUM(column_name) FROM table_name WHERE condition."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

Is mysql easy to learn?

1 Answers  


What is a longblob?

1 Answers  


What is acid in mysql?

1 Answers  


How does limit work in mysql?

1 Answers  


How to represent ENUMs and SETs internally?

1 Answers  


What is the difference between char and varchar?

1 Answers  


What is the difference between myisam dynamic and myisam static in mysql?

1 Answers  


How to store values to array from mysql database in php?

1 Answers  


What does mysqli stand for?

1 Answers  


What are date and time data types?

1 Answers  


How do I find mysql location?

1 Answers  


What is different between sql and mysql?

1 Answers  


Categories