I need a little SQL help Here (MySQL)...
TABLE
--user_id
--amount
--status
Basically I want to return a HTML table that will result in
user 1 1.00
user 1 5.25
______________total 6.25
user 2 100.00
user 2 101.25
user 2 135.21
_____________total 336.46
I know I can do this with multiple query's but can it be done with just one (I will not know the user_id's ?