I have this table
create table votes(
candidate varchar(20),
voteup bool
)
and I want to display something like this
|candidate|vote ups(true)|vote downs(false)|vote points(true-false)
|hitler |16 |104 |-88
|obama |119 |1 |118