Good evening. I have two queries of the following form:
SELECT COUNT(*) AS firtsRes FROM tableName
and second:
SELECT COUNT(*) AS secondRes FROM tableName WHERE fieldName > someValue
I need to get the result of dividing firstRes / secondRes. Is it possible to get it in one request, in other words, merge the two above requests into one? Thank you in advance