4
When I write the command select count(carga > 40) from cursos;
what counting logic the command count
is running?
This command worked on mysql however it returned me a result that I could not identify the source. I could not understand what the Count identified on the basis.
Basically he counted how many load lines > 40 gave null (which in practice returned how many times the load field is null, because null > 40 == null in the same way). I gave two alternatives in my answer, if you have questions comment, I elaborate better. Even you.
– Bacco