thumbnail sql - Postgresql Multiple counts for one table - Stack Overflow