select * from sondaggio where tipo='#tipo#' order by id
update risultati set risposta#i#a=risposta#i#a+1 where tipo_sondaggio='#tipo#'
update risultati set risposta#i#b=risposta#i#b+1 where tipo_sondaggio='#tipo#'
#domanda#
favorevole
non favorevole