select query related problem

Posted by user222585 on Stack Overflow See other posts from Stack Overflow or by user222585
Published on 2010-06-09T05:05:05Z Indexed on 2010/06/09 5:22 UTC
Read the original article Hit count: 159

Filed under:
|
|

i have interest rate and amount in a table where interest rate are ranged in different values like 4.5,4.6,5.2,5.6 etc.

i want to get sum of amounts classified by interest rate where interest rate will be separated by .25.

for example all amount having interest rate 1.25,1.3,1.4 will be in one group and 1.5,1.67,1.9 will be in another group

how can i write the query?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about query