How to count if there does not exist TRUE in the same category? – Postgresql
Assume I have two tables: cameraNum roadNum isWorking 100 1 TRUE 101 1 FALSE 102 1 TRUE 103 3 FALSE 104 3 FALSE 105 7 TRUE 106 7 TRUE 107 7 TRUE 108 9 FALSE 109 9 FALSE 110 9…