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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -