Anyone know why this code didn't work, but the code below it works fine?
I have seen WHERE clause works with GROUP BY, just not this one, not sure why.
Code:SELECT seller, iid, startTIME , count(*) as cntBID FROM bid WHERE count(*) = 1 GROUP BY seller, iid, startTIME
Code:SELECT seller, iid, startTIME , count(*) as cntBID FROM bid GROUP BY seller, iid, startTIME HAVING count(*) = 1