"GenericJDBCException: Could not open connection", "org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 29, SQLState: null", "Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: All connections in the Universal Connection Pool are in use"
「式、または、列名を指定した場合、その式が NULL 値 のものをカウント数に含めない。さらに DISTINCT を指定すると重複した値の行をカウントに含めない」「SQL> select dept, COUNT(*), COUNT(salary) from count_sample group by dept;」