select count(*) from bug where date_last_message is null; count ------- 0 (1 row)
Time: 28.980 ms
If we require that all bugs have a message it would be simpler too.
select count(*) from bug where date_last_message is null;
count
-------
0
(1 row)
Time: 28.980 ms
If we require that all bugs have a message it would be simpler too.