i need some help with a sql query. I have a table called ‘table1’ and it looks as follows ;
ID Time Total
1 12/12/12 100
2 12/12/12 10
3 12/12/12 10
1 12/12/12 100
3 12/12/12 10
I am populating the above data in a jtable. I want to only display ONE instance of the same ID but calculate the total between them. How is this possible? (if the ID is same, then only display it once but calculate the total).
Do you need to display time?
If not,