qualkosa del tipo:
select d.id_utente, d.data_login, count(d.id_utente), count(r.id_utente) from tabella_domande as d left join tabella_risposte as r on d.id_utente = r.id_utente group by d.id_utente order by d.data_login
lho scritto così alla svelta dimmi se funzia
ciauz