Originariamente inviato da gianiaz
SELECT COUNT(campo_tabella) AS tot FROM tabella;

ops scusate avevo capito male