I have a table like this tblData (month int,Qty int)

and i am inserting three rows in this table
1.tblData Values (1,100)
2.tblData Values (2,200)
3.tblData Values (3,300)

The Result I want is the Running total of the field Qty

that is 1 100 100
2 200 300
3 300 600

What is the Query for that ?

Answer Posted / bibinsami3

i Will give 3 pts to them who find the answer with out
reffering any Documets.. :)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which year mysql created?

522


What is a procedure example?

487


What are the 3 main types of search queries?

448


What is the innodb in mysql?

496


How do I view mysql logs?

479






Is foreign key indexed mysql?

460


What is triggers?

506


What are the advantages of myisam over innodb?

557


Does adding an index lock a table?

480


What is data types in mysql?

474


Write a command with which mysql table can be repaired

536


Transactions are used to treat sets of SQL statements atomically. State Whether True or False?

974


Which is better mysql or mssql?

470


How to shutdown mysql server?

572


What is the difference between procedure and function in mysql?

500