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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -