database - having count in multiple condition but in same table mysql -


can make having count on query syntax in multiple condition? query

select * absen keterangan = 'sakit' having count('keterangan') >= 1  , keterangan = 'alpa' having count('keterangan') > 5 

but in single condition work perferctly helped

yup can have multiple condition doesn't need write clause every time use , apply both conditions


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -