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
Post a Comment