I need to mount a MySQL query that returns me the total of rows, and the total of rows with a value greater than 1 in the same query.
Total lines :
SELECT COUNT(*) FROM tabela
Total lines value greater than 1:
SELECT COUNT(*) FROM 'tabela' WHERE 'valor' < 1
It would be like putting these two lines together, and returning the total number of rows and total rows with a value greater than 1.