select sum(A),sum(B),sum(C) from mytable where id in (1,2,3);
More Related Contents:
- MYSQL sum() for distinct rows
- How do I get SUM function in MySQL to return ‘0’ if no values are found?
- Surpassing MySQL’s TIME value limit of 838:59:59
- How do I add two count(*) results together on two different tables?
- Sum until certain point – MySql
- get first occurrence of last changed value of a column [closed]
- ROW_NUMBER() in MySQL
- MySQL Error #1071 – Specified key was too long; max key length is 767 bytes
- How can I temporarily disable a foreign key constraint in MySQL?
- Creating a “Numbers Table” in MySQL
- MYSQL Select MAX Date inside a join statement
- Choosing a stand-alone full-text search server: Sphinx or SOLR? [closed]
- Determine which MySQL configuration file is being used
- Rails, MySQL and Snow Leopard
- In SQL, how to select the top 2 rows for each group
- MySQL CONVERT_TZ()
- TRIGGERs that cause INSERTs to fail? Possible?
- Mysql query to dynamically convert rows to columns on the basis of two columns
- MySQL: #126 – Incorrect key file for table
- MYSQL Left Join COUNTS from multiple tables
- Error Code: 1290. The MySQL server is running with the –secure-file-priv option so it cannot execute this statement
- Case Sensitive collation in MySQL
- MySQL: ALTER IGNORE TABLE ADD UNIQUE, what will be truncated?
- Getting first day of the week in MySql using Week No
- error code 1292 incorrect date value mysql
- How to search for rows containing a substring?
- Import CSV to Update only one column in table
- MySQL : how to remove double or more spaces from a string?
- Error in MySQL library for Node.js
- Count duplicates records in Mysql table?