I have got a column name check , with a datatype bit(true or False), What I want to do is count how many false and true are there in the column .
SELECT
COUNT(FeatureState) AS tot_true,
COUNT(*)-COUNT(FeatureState) AS tot_false
FROM productDetail
WHERE FeatureState= 1
This works
Try this, should work: