ms access - SQL query to SUM the column data -


i have table

 fmt               price  mt1              606.99 mt2              238.91 mt3              316.54 mt4              371.42 mt5              124.95 

how total price mt1,2,3,4,5 using query?

select sum(price) thistable fmt in ('mt1','mt2','mt3','mt4','mt5'); 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -